home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / _archvrs / mac / unzip101.sit / UnZip 1.01.rsrc / CODE_2.txt < prev    next >
Text File  |  1989-09-11  |  390KB  |  7,092 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. entry:
  4. fn00000000:
  5. 00000000  226F 0004                movea.l    A1, [A7 + 0x4]
  6. 00000004  362F 0008                move.w     D3, [A7 + 0x8]
  7. 00000008  242D F710                move.l     D2, [A5 - 0x8F0]
  8. 0000000C  41ED 975A                lea.l      A0, [A5 - 0x68A6]
  9. 00000010  5343                     subq.w     D3, 1
  10. label00000012:
  11. 00000012  4240                     clr.w      D0
  12. 00000014  1002                     move.b     D0, D2
  13. 00000016  4241                     clr.w      D1
  14. 00000018  1219                     move.b     D1, [A1]+
  15. 0000001A  B340                     xor.w      D0, D1
  16. 0000001C  D040                     add.w      D0, D0
  17. 0000001E  D040                     add.w      D0, D0
  18. 00000020  2230 0000                move.l     D1, [A0 + D0.w]
  19. 00000024  4202                     clr.b      D2
  20. 00000026  E09A                     ror        D2, 8
  21. 00000028  B382                     xor.l      D2, D1
  22. 0000002A  51CB FFE6                dbf        D3, -0x1C /* 00000012 */
  23. 0000002E  2B42 F710                move.l     [A5 - 0x8F0], D2
  24. 00000032  4E75                     rts
  25. 00000034  4E75                     rts
  26. fn00000036:
  27. 00000036  4E56 0000                link       A6, 0
  28. 0000003A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  29. 0000003E  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  30. 00000042  4EAD 0042                jsr        [A5 + 0x42]
  31. 00000046  2D40 000C                move.l     [A6 + 0xC], D0
  32. 0000004A  202E 000C                move.l     D0, [A6 + 0xC]
  33. 0000004E  A31E                     trap       NewPtrClear, flags=3
  34. 00000050  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  35. 00000054  2008                     move.l     D0, A0
  36. 00000056  4E5E                     unlink     A6
  37. 00000058  4E75                     rts
  38. 0000005A  434C                     chk.w      D1, A4
  39. 0000005C  414C                     chk.w      D0, A4
  40. 0000005E  4C4F 4320                movem.l    A6,A1,A0,D5, A7
  41. fn00000062:
  42. 00000062  4E56 0000                link       A6, 0
  43. 00000066  7000                     moveq.l    D0, 0x00
  44. 00000068  302E 0008                move.w     D0, [A6 + 0x8]
  45. 0000006C  7200                     moveq.l    D1, 0x00
  46. 0000006E  322E 000A                move.w     D1, [A6 + 0xA]
  47. 00000072  2F01                     move.l     -[A7], D1
  48. 00000074  2F00                     move.l     -[A7], D0
  49. 00000076  4EBA FFBE                jsr        [PC - 0x42 /* 00000036 */]
  50. 0000007A  508F                     addq.l     A7, 8
  51. 0000007C  4E5E                     unlink     A6
  52. 0000007E  4E75                     rts
  53. 00000080  4341                     chk.w      D1, D1
  54. 00000082  4C4C 4F43                movem.l    A6,A3,A2,A1,A0,D6,D1,D0, A4
  55. 00000086  2020                     move.l     D0, -[A0]
  56. fn00000088:
  57. 00000088  4E56 0000                link       A6, 0
  58. 0000008C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  59. 00000090  4EAD 01E2                jsr        [A5 + 0x1E2]
  60. 00000094  4A78 0220                tst.w      [0x00000220 /* MemErr */]
  61. 00000098  6604                     bne        +0x6 /* 0000009E */
  62. 0000009A  7000                     moveq.l    D0, 0x00
  63. 0000009C  6002                     bra        +0x4 /* 000000A0 */
  64. label0000009E:
  65. 0000009E  70FF                     moveq.l    D0, 0xFFFFFFFF
  66. label000000A0:
  67. 000000A0  4E5E                     unlink     A6
  68. 000000A2  4E75                     rts
  69. 000000A4  4652                     not.w      [A2]
  70. 000000A6  4545                     chk.w      D2, D5
  71. 000000A8  2020                     move.l     D0, -[A0]
  72. 000000AA  2020                     move.l     D0, -[A0]
  73. fn000000AC:
  74. 000000AC  4E56 0000                link       A6, 0
  75. 000000B0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  76. 000000B4  4EBA FFD2                jsr        [PC - 0x2E /* 00000088 */]
  77. 000000B8  588F                     addq.l     A7, 4
  78. 000000BA  4E5E                     unlink     A6
  79. 000000BC  4E75                     rts
  80. 000000BE  4346                     chk.w      D1, D6
  81. 000000C0  5245                     addq.w     D5, 1
  82. 000000C2  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  83. 000000C4  2020                     move.l     D0, -[A0]
  84. fn000000C6:
  85. 000000C6  4E56 0000                link       A6, 0
  86. 000000CA  42A7                     clr.l      -[A7]
  87. 000000CC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  88. 000000D0  4EAD 01DA                jsr        [A5 + 0x1DA]
  89. 000000D4  205F                     movea.l    A0, [A7]+
  90. 000000D6  2008                     move.l     D0, A0
  91. 000000D8  4E5E                     unlink     A6
  92. 000000DA  4E75                     rts
  93. 000000DC  4D4C                     chk.w      D6, A4
  94. 000000DE  414C                     chk.w      D0, A4
  95. 000000E0  4C4F 4320                movem.l    A6,A1,A0,D5, A7
  96. 000000E4  4E56 0000                link       A6, 0
  97. 000000E8  42A7                     clr.l      -[A7]
  98. 000000EA  7000                     moveq.l    D0, 0x00
  99. 000000EC  302E 0008                move.w     D0, [A6 + 0x8]
  100. 000000F0  2F00                     move.l     -[A7], D0
  101. 000000F2  4EAD 01DA                jsr        [A5 + 0x1DA]
  102. 000000F6  205F                     movea.l    A0, [A7]+
  103. 000000F8  2008                     move.l     D0, A0
  104. 000000FA  4E5E                     unlink     A6
  105. 000000FC  4E75                     rts
  106. 000000FE  4D41                     chk.w      D6, D1
  107. 00000100  4C4C 4F43                movem.l    A6,A3,A2,A1,A0,D6,D1,D0, A4
  108. 00000104  2020                     move.l     D0, -[A0]
  109. fn00000106:
  110. 00000106  4E56 FFF8                link       A6, -0x0008
  111. 0000010A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  112. 0000010E  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  113. 00000112  4EAD 01F2                jsr        [A5 + 0x1F2]
  114. 00000116  4267                     clr.w      -[A7]
  115. 00000118  4EAD 021A                jsr        [A5 + 0x21A]
  116. 0000011C  301F                     move.w     D0, [A7]+
  117. 0000011E  4A40                     tst.w      D0
  118. 00000120  6700 006C                beq        +0x6E /* 0000018E */
  119. 00000124  42A7                     clr.l      -[A7]
  120. 00000126  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  121. 0000012A  4EAD 01DA                jsr        [A5 + 0x1DA]
  122. 0000012E  205F                     movea.l    A0, [A7]+
  123. 00000130  2D48 FFF8                move.l     [A6 - 0x8], A0
  124. 00000134  4267                     clr.w      -[A7]
  125. 00000136  4EAD 021A                jsr        [A5 + 0x21A]
  126. 0000013A  301F                     move.w     D0, [A7]+
  127. 0000013C  4A40                     tst.w      D0
  128. 0000013E  6704                     beq        +0x6 /* 00000144 */
  129. 00000140  7000                     moveq.l    D0, 0x00
  130. 00000142  604E                     bra        +0x50 /* 00000192 */
  131. label00000144:
  132. 00000144  42A7                     clr.l      -[A7]
  133. 00000146  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  134. 0000014A  4EAD 01EA                jsr        [A5 + 0x1EA]
  135. 0000014E  201F                     move.l     D0, [A7]+
  136. 00000150  2D40 FFFC                move.l     [A6 - 0x4], D0
  137. 00000154  202E FFFC                move.l     D0, [A6 - 0x4]
  138. 00000158  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  139. 0000015C  6412                     bcc        +0x14 /* 00000170 */
  140. 0000015E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  141. 00000162  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  142. 00000166  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  143. 0000016A  4EAD 0212                jsr        [A5 + 0x212]
  144. 0000016E  6010                     bra        +0x12 /* 00000180 */
  145. label00000170:
  146. 00000170  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  147. 00000174  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  148. 00000178  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  149. 0000017C  4EAD 0212                jsr        [A5 + 0x212]
  150. label00000180:
  151. 00000180  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  152. 00000184  4EAD 01E2                jsr        [A5 + 0x1E2]
  153. 00000188  202E FFF8                move.l     D0, [A6 - 0x8]
  154. 0000018C  6004                     bra        +0x6 /* 00000192 */
  155. label0000018E:
  156. 0000018E  202E 0008                move.l     D0, [A6 + 0x8]
  157. label00000192:
  158. 00000192  4E5E                     unlink     A6
  159. 00000194  4E75                     rts
  160. 00000196  5245                     addq.w     D5, 1
  161. 00000198  4C41 4C4C                movem.l    A6,A3,A2,D6,D3,D2, D1
  162. 0000019C  4F43                     chk.w      D7, D3
  163. 0000019E  4E56 0000                link       A6, 0
  164. 000001A2  7000                     moveq.l    D0, 0x00
  165. 000001A4  302E 000C                move.w     D0, [A6 + 0xC]
  166. 000001A8  2F00                     move.l     -[A7], D0
  167. 000001AA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  168. 000001AE  4EBA FF56                jsr        [PC - 0xAA /* 00000106 */]
  169. 000001B2  508F                     addq.l     A7, 8
  170. 000001B4  4E5E                     unlink     A6
  171. 000001B6  4E75                     rts
  172. 000001B8  5245                     addq.w     D5, 1
  173. 000001BA  414C                     chk.w      D0, A4
  174. 000001BC  4C4F 4320                movem.l    A6,A1,A0,D5, A7
  175. fn000001C0:
  176. 000001C0  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  177. 000001C6  2208                     move.l     D1, A0
  178. 000001C8  302F 000C                move.w     D0, [A7 + 0xC]
  179. 000001CC  5340                     subq.w     D0, 1
  180. 000001CE  6C06                     bge        +0x8 /* 000001D6 */
  181. label000001D0:
  182. 000001D0  2008                     move.l     D0, A0
  183. 000001D2  9081                     sub.l      D0, D1
  184. 000001D4  6014                     bra        +0x16 /* 000001EA */
  185. label000001D6:
  186. 000001D6  10D9                     move.b     [A0]+, [A1]+
  187. 000001D8  57C8 FFFC                dbeq       D0, -0x6 /* 000001D6 */
  188. 000001DC  4A20                     tst.b      -[A0]
  189. 000001DE  67F0                     beq        -0xE /* 000001D0 */
  190. 000001E0  4A40                     tst.w      D0
  191. 000001E2  6DEC                     blt        -0x12 /* 000001D0 */
  192. 000001E4  5288                     addq.l     A0, 1
  193. 000001E6  4210                     clr.b      [A0]
  194. 000001E8  60E6                     bra        -0x18 /* 000001D0 */
  195. label000001EA:
  196. 000001EA  4E75                     rts
  197. 000001EC  206F 0004                movea.l    A0, [A7 + 0x4]
  198. label000001F0:
  199. 000001F0  0C10 0020                cmpi.b     [A0], 0x20 /* ' ' */
  200. 000001F4  6716                     beq        +0x18 /* 0000020C */
  201. 000001F6  0C10 0003                cmpi.b     [A0], 0x3
  202. 000001FA  6710                     beq        +0x12 /* 0000020C */
  203. 000001FC  0C10 0009                cmpi.b     [A0], 0x9 /* '\t' */
  204. 00000200  6D06                     blt        +0x8 /* 00000208 */
  205. 00000202  0C10 000D                cmpi.b     [A0], 0xD /* '\r' */
  206. 00000206  6F04                     ble        +0x6 /* 0000020C */
  207. label00000208:
  208. 00000208  5288                     addq.l     A0, 1
  209. 0000020A  60E4                     bra        -0x1A /* 000001F0 */
  210. label0000020C:
  211. 0000020C  2008                     move.l     D0, A0
  212. 0000020E  4E75                     rts
  213. fn00000210:
  214. 00000210  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  215. 00000216  2008                     move.l     D0, A0
  216. label00000218:
  217. 00000218  4A18                     tst.b      [A0]+
  218. 0000021A  66FC                     bne        -0x2 /* 00000218 */
  219. 0000021C  5388                     subq.l     A0, 1
  220. label0000021E:
  221. 0000021E  10D9                     move.b     [A0]+, [A1]+
  222. 00000220  66FC                     bne        -0x2 /* 0000021E */
  223. 00000222  4E75                     rts
  224. export_14:
  225. 00000224  206F 0004                movea.l    A0, [A7 + 0x4]
  226. 00000228  142F 0009                move.b     D2, [A7 + 0x9]
  227. 0000022C  7000                     moveq.l    D0, 0x00
  228. label0000022E:
  229. 0000022E  1218                     move.b     D1, [A0]+
  230. 00000230  6606                     bne        +0x8 /* 00000238 */
  231. 00000232  4A02                     tst.b      D2
  232. 00000234  6706                     beq        +0x8 /* 0000023C */
  233. 00000236  6008                     bra        +0xA /* 00000240 */
  234. label00000238:
  235. 00000238  B202                     cmp.b      D1, D2
  236. 0000023A  66F2                     bne        -0xC /* 0000022E */
  237. label0000023C:
  238. 0000023C  2008                     move.l     D0, A0
  239. 0000023E  5380                     subq.l     D0, 1
  240. label00000240:
  241. 00000240  4E75                     rts
  242. 00000242  4EED 0092                jmp        [A5 + 0x92]
  243. 00000246  4E75                     rts
  244. export_15:
  245. 00000248  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  246. label0000024E:
  247. 0000024E  B109                     cmpm.b     [A0]+, [A1]+
  248. 00000250  6606                     bne        +0x8 /* 00000258 */
  249. 00000252  4A28 FFFF                tst.b      [A0 - 0x1]
  250. 00000256  66F6                     bne        -0x8 /* 0000024E */
  251. label00000258:
  252. 00000258  1020                     move.b     D0, -[A0]
  253. 0000025A  9021                     sub.b      D0, -[A1]
  254. 0000025C  4880                     ext.w      D0
  255. 0000025E  4E75                     rts
  256. 00000260  4EED 009A                jmp        [A5 + 0x9A]
  257. 00000264  4E75                     rts
  258. export_11:
  259. fn00000266:
  260. 00000266  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  261. 0000026C  2008                     move.l     D0, A0
  262. label0000026E:
  263. 0000026E  10D9                     move.b     [A0]+, [A1]+
  264. 00000270  66FC                     bne        -0x2 /* 0000026E */
  265. 00000272  4E75                     rts
  266. 00000274  4EED 007A                jmp        [A5 + 0x7A]
  267. 00000278  4E75                     rts
  268. export_13:
  269. 0000027A  206F 0004                movea.l    A0, [A7 + 0x4]
  270. 0000027E  222F 0008                move.l     D1, [A7 + 0x8]
  271. label00000282:
  272. 00000282  4A10                     tst.b      [A0]
  273. 00000284  6712                     beq        +0x14 /* 00000298 */
  274. 00000286  2241                     movea.l    A1, D1
  275. label00000288:
  276. 00000288  4A11                     tst.b      [A1]
  277. 0000028A  6708                     beq        +0xA /* 00000294 */
  278. 0000028C  B308                     cmpm.b     [A1]+, [A0]+
  279. 0000028E  5388                     subq.l     A0, 1
  280. 00000290  6706                     beq        +0x8 /* 00000298 */
  281. 00000292  60F4                     bra        -0xA /* 00000288 */
  282. label00000294:
  283. 00000294  5288                     addq.l     A0, 1
  284. 00000296  60EA                     bra        -0x14 /* 00000282 */
  285. label00000298:
  286. 00000298  2008                     move.l     D0, A0
  287. 0000029A  90AF 0004                sub.l      D0, [A7 + 0x4]
  288. 0000029E  4E75                     rts
  289. 000002A0  4EED 008A                jmp        [A5 + 0x8A]
  290. 000002A4  4E75                     rts
  291. export_16:
  292. 000002A6  206F 0004                movea.l    A0, [A7 + 0x4]
  293. label000002AA:
  294. 000002AA  4A18                     tst.b      [A0]+
  295. 000002AC  66FC                     bne        -0x2 /* 000002AA */
  296. 000002AE  2008                     move.l     D0, A0
  297. 000002B0  90AF 0004                sub.l      D0, [A7 + 0x4]
  298. 000002B4  5380                     subq.l     D0, 1
  299. 000002B6  4E75                     rts
  300. 000002B8  4EED 00A2                jmp        [A5 + 0xA2]
  301. 000002BC  4E75                     rts
  302. 000002BE  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  303. 000002C4  2008                     move.l     D0, A0
  304. 000002C6  322F 000C                move.w     D1, [A7 + 0xC]
  305. 000002CA  6F16                     ble        +0x18 /* 000002E2 */
  306. label000002CC:
  307. 000002CC  4A18                     tst.b      [A0]+
  308. 000002CE  66FC                     bne        -0x2 /* 000002CC */
  309. 000002D0  5388                     subq.l     A0, 1
  310. 000002D2  5341                     subq.w     D1, 1
  311. label000002D4:
  312. 000002D4  10D9                     move.b     [A0]+, [A1]+
  313. 000002D6  57C9 FFFC                dbeq       D1, -0x6 /* 000002D4 */
  314. 000002DA  4A28 FFFF                tst.b      [A0 - 0x1]
  315. 000002DE  6702                     beq        +0x4 /* 000002E2 */
  316. 000002E0  4210                     clr.b      [A0]
  317. label000002E2:
  318. 000002E2  4E75                     rts
  319. 000002E4  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  320. 000002EA  4240                     clr.w      D0
  321. 000002EC  322F 000C                move.w     D1, [A7 + 0xC]
  322. 000002F0  6F0A                     ble        +0xC /* 000002FC */
  323. label000002F2:
  324. 000002F2  B308                     cmpm.b     [A1]+, [A0]+
  325. 000002F4  6708                     beq        +0xA /* 000002FE */
  326. label000002F6:
  327. 000002F6  1020                     move.b     D0, -[A0]
  328. 000002F8  9021                     sub.b      D0, -[A1]
  329. 000002FA  4880                     ext.w      D0
  330. label000002FC:
  331. 000002FC  600C                     bra        +0xE /* 0000030A */
  332. label000002FE:
  333. 000002FE  5341                     subq.w     D1, 1
  334. 00000300  67F4                     beq        -0xA /* 000002F6 */
  335. 00000302  4A28 FFFF                tst.b      [A0 - 0x1]
  336. 00000306  67EE                     beq        -0x10 /* 000002F6 */
  337. 00000308  60E8                     bra        -0x16 /* 000002F2 */
  338. label0000030A:
  339. 0000030A  4E75                     rts
  340. 0000030C  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  341. 00000312  2008                     move.l     D0, A0
  342. 00000314  322F 000C                move.w     D1, [A7 + 0xC]
  343. 00000318  6E02                     bgt        +0x4 /* 0000031C */
  344. label0000031A:
  345. 0000031A  6012                     bra        +0x14 /* 0000032E */
  346. label0000031C:
  347. 0000031C  10D9                     move.b     [A0]+, [A1]+
  348. 0000031E  6706                     beq        +0x8 /* 00000326 */
  349. 00000320  5341                     subq.w     D1, 1
  350. 00000322  6EF8                     bgt        -0x6 /* 0000031C */
  351. 00000324  67F4                     beq        -0xA /* 0000031A */
  352. label00000326:
  353. 00000326  5341                     subq.w     D1, 1
  354. 00000328  67F0                     beq        -0xE /* 0000031A */
  355. 0000032A  4218                     clr.b      [A0]+
  356. 0000032C  60F8                     bra        -0x6 /* 00000326 */
  357. label0000032E:
  358. 0000032E  4E75                     rts
  359. export_10:
  360. 00000330  206F 0004                movea.l    A0, [A7 + 0x4]
  361. 00000334  222F 0008                move.l     D1, [A7 + 0x8]
  362. 00000338  7000                     moveq.l    D0, 0x00
  363. label0000033A:
  364. 0000033A  4A10                     tst.b      [A0]
  365. 0000033C  6710                     beq        +0x12 /* 0000034E */
  366. 0000033E  2241                     movea.l    A1, D1
  367. label00000340:
  368. 00000340  1419                     move.b     D2, [A1]+
  369. 00000342  6604                     bne        +0x6 /* 00000348 */
  370. 00000344  5288                     addq.l     A0, 1
  371. 00000346  60F2                     bra        -0xC /* 0000033A */
  372. label00000348:
  373. 00000348  B410                     cmp.b      D2, [A0]
  374. 0000034A  66F4                     bne        -0xA /* 00000340 */
  375. 0000034C  2008                     move.l     D0, A0
  376. label0000034E:
  377. 0000034E  4E75                     rts
  378. 00000350  4EED 0072                jmp        [A5 + 0x72]
  379. 00000354  4E75                     rts
  380. 00000356  206F 0004                movea.l    A0, [A7 + 0x4]
  381. 0000035A  102F 0009                move.b     D0, [A7 + 0x9]
  382. label0000035E:
  383. 0000035E  1218                     move.b     D1, [A0]+
  384. 00000360  6608                     bne        +0xA /* 0000036A */
  385. 00000362  4A00                     tst.b      D0
  386. 00000364  6708                     beq        +0xA /* 0000036E */
  387. 00000366  70FF                     moveq.l    D0, 0xFFFFFFFF
  388. 00000368  600C                     bra        +0xE /* 00000376 */
  389. label0000036A:
  390. 0000036A  B200                     cmp.b      D1, D0
  391. 0000036C  66F0                     bne        -0xE /* 0000035E */
  392. label0000036E:
  393. 0000036E  2008                     move.l     D0, A0
  394. 00000370  90AF 0004                sub.l      D0, [A7 + 0x4]
  395. 00000374  5340                     subq.w     D0, 1
  396. label00000376:
  397. 00000376  4E75                     rts
  398. 00000378  206F 0004                movea.l    A0, [A7 + 0x4]
  399. 0000037C  122F 0009                move.b     D1, [A7 + 0x9]
  400. 00000380  7001                     moveq.l    D0, 0x01
  401. label00000382:
  402. 00000382  1418                     move.b     D2, [A0]+
  403. 00000384  6708                     beq        +0xA /* 0000038E */
  404. 00000386  B401                     cmp.b      D2, D1
  405. 00000388  66F8                     bne        -0x6 /* 00000382 */
  406. 0000038A  2008                     move.l     D0, A0
  407. 0000038C  60F4                     bra        -0xA /* 00000382 */
  408. label0000038E:
  409. 0000038E  4A01                     tst.b      D1
  410. 00000390  6602                     bne        +0x4 /* 00000394 */
  411. 00000392  2008                     move.l     D0, A0
  412. label00000394:
  413. 00000394  5380                     subq.l     D0, 1
  414. 00000396  4E75                     rts
  415. 00000398  206F 0004                movea.l    A0, [A7 + 0x4]
  416. 0000039C  222F 0008                move.l     D1, [A7 + 0x8]
  417. 000003A0  7000                     moveq.l    D0, 0x00
  418. label000003A2:
  419. 000003A2  4A10                     tst.b      [A0]
  420. 000003A4  6710                     beq        +0x12 /* 000003B6 */
  421. 000003A6  2241                     movea.l    A1, D1
  422. label000003A8:
  423. 000003A8  1419                     move.b     D2, [A1]+
  424. 000003AA  6706                     beq        +0x8 /* 000003B2 */
  425. 000003AC  B410                     cmp.b      D2, [A0]
  426. 000003AE  66F8                     bne        -0x6 /* 000003A8 */
  427. 000003B0  2008                     move.l     D0, A0
  428. label000003B2:
  429. 000003B2  5288                     addq.l     A0, 1
  430. 000003B4  60EC                     bra        -0x12 /* 000003A2 */
  431. label000003B6:
  432. 000003B6  4E75                     rts
  433. 000003B8  206F 0004                movea.l    A0, [A7 + 0x4]
  434. 000003BC  2248                     movea.l    A1, A0
  435. 000003BE  122F 0009                move.b     D1, [A7 + 0x9]
  436. 000003C2  2008                     move.l     D0, A0
  437. label000003C4:
  438. 000003C4  1418                     move.b     D2, [A0]+
  439. 000003C6  6708                     beq        +0xA /* 000003D0 */
  440. 000003C8  B401                     cmp.b      D2, D1
  441. 000003CA  66F8                     bne        -0x6 /* 000003C4 */
  442. 000003CC  2008                     move.l     D0, A0
  443. 000003CE  60F4                     bra        -0xA /* 000003C4 */
  444. label000003D0:
  445. 000003D0  4A01                     tst.b      D1
  446. 000003D2  6602                     bne        +0x4 /* 000003D6 */
  447. 000003D4  2008                     move.l     D0, A0
  448. label000003D6:
  449. 000003D6  9089                     sub.l      D0, A1
  450. 000003D8  5340                     subq.w     D0, 1
  451. 000003DA  4E75                     rts
  452. export_12:
  453. 000003DC  206F 0004                movea.l    A0, [A7 + 0x4]
  454. 000003E0  222F 0008                move.l     D1, [A7 + 0x8]
  455. label000003E4:
  456. 000003E4  4A10                     tst.b      [A0]
  457. 000003E6  6710                     beq        +0x12 /* 000003F8 */
  458. 000003E8  2241                     movea.l    A1, D1
  459. label000003EA:
  460. 000003EA  4A11                     tst.b      [A1]
  461. 000003EC  670A                     beq        +0xC /* 000003F8 */
  462. 000003EE  B308                     cmpm.b     [A1]+, [A0]+
  463. 000003F0  5388                     subq.l     A0, 1
  464. 000003F2  66F6                     bne        -0x8 /* 000003EA */
  465. 000003F4  5288                     addq.l     A0, 1
  466. 000003F6  60EC                     bra        -0x12 /* 000003E4 */
  467. label000003F8:
  468. 000003F8  2008                     move.l     D0, A0
  469. 000003FA  90AF 0004                sub.l      D0, [A7 + 0x4]
  470. 000003FE  4E75                     rts
  471. 00000400  4EED 0082                jmp        [A5 + 0x82]
  472. 00000404  4E75                     rts
  473. fn00000406:
  474. 00000406  4E56 FFF8                link       A6, -0x0008
  475. 0000040A  2F0C                     move.l     -[A7], A4
  476. 0000040C  206D 9B76                movea.l    A0, [A5 - 0x648A]
  477. 00000410  43EE FFF8                lea.l      A1, [A6 - 0x8]
  478. 00000414  41E8 0010                lea.l      A0, [A0 + 0x10]
  479. 00000418  22D8                     move.l     [A1]+, [A0]+
  480. 0000041A  22D8                     move.l     [A1]+, [A0]+
  481. 0000041C  302E FFFE                move.w     D0, [A6 - 0x2]
  482. 00000420  0640 FFF1                addi.w     D0, 0xFFF1
  483. 00000424  3D40 FFFA                move.w     [A6 - 0x6], D0
  484. 00000428  302E FFFC                move.w     D0, [A6 - 0x4]
  485. 0000042C  0640 FFF1                addi.w     D0, 0xFFF1
  486. 00000430  3D40 FFF8                move.w     [A6 - 0x8], D0
  487. 00000434  42A7                     clr.l      -[A7]
  488. 00000436  A8D8                     trap       NewRgn
  489. 00000438  205F                     movea.l    A0, [A7]+
  490. 0000043A  2848                     movea.l    A4, A0
  491. 0000043C  2F0C                     move.l     -[A7], A4
  492. 0000043E  A87A                     trap       GetClip
  493. 00000440  486E FFF8                pea.l      [A6 - 0x8]
  494. 00000444  A87B                     trap       ClipRect
  495. 00000446  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  496. 0000044A  A904                     trap       DrawGrowIcon
  497. 0000044C  2F0C                     move.l     -[A7], A4
  498. 0000044E  A879                     trap       SetClip
  499. 00000450  2F0C                     move.l     -[A7], A4
  500. 00000452  A8D9                     trap       DisposRgn/DisposeRgn
  501. 00000454  285F                     movea.l    A4, [A7]+
  502. 00000456  4E5E                     unlink     A6
  503. 00000458  4E75                     rts
  504. 0000045A  4452                     neg.w      [A2]
  505. 0000045C  4157                     chk.w      D0, [A7]
  506. 0000045E  4752                     chk.w      D3, [A2]
  507. 00000460  4F57                     chk.w      D7, [A7]
  508. fn00000462:
  509. 00000462  4E56 0000                link       A6, 0
  510. 00000466  2F0C                     move.l     -[A7], A4
  511. 00000468  286D 9B6E                movea.l    A4, [A5 - 0x6492]
  512. 0000046C  6014                     bra        +0x16 /* 00000482 */
  513. label0000046E:
  514. 0000046E  2054                     movea.l    A0, [A4]
  515. 00000470  2010                     move.l     D0, [A0]
  516. 00000472  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  517. 00000476  6604                     bne        +0x6 /* 0000047C */
  518. 00000478  200C                     move.l     D0, A4
  519. 0000047A  600E                     bra        +0x10 /* 0000048A */
  520. label0000047C:
  521. 0000047C  2054                     movea.l    A0, [A4]
  522. 0000047E  2868 0018                movea.l    A4, [A0 + 0x18]
  523. label00000482:
  524. 00000482  B8FC 0000                cmpa.w     A4, 0x0
  525. 00000486  66E6                     bne        -0x18 /* 0000046E */
  526. 00000488  7000                     moveq.l    D0, 0x00
  527. label0000048A:
  528. 0000048A  285F                     movea.l    A4, [A7]+
  529. 0000048C  4E5E                     unlink     A6
  530. 0000048E  4E75                     rts
  531. 00000490  4745                     chk.w      D3, D5
  532. 00000492  5444                     addq.w     D4, 2
  533. 00000494  494E                     chk.w      D4, A6
  534. 00000496  464F                     not.w      A7
  535. fn00000498:
  536. 00000498  4E56 0000                link       A6, 0
  537. 0000049C  2F0C                     move.l     -[A7], A4
  538. 0000049E  4AAE 0008                tst.l      [A6 + 0x8]
  539. 000004A2  6606                     bne        +0x8 /* 000004AA */
  540. 000004A4  486E 0008                pea.l      [A6 + 0x8]
  541. 000004A8  A874                     trap       GetPort
  542. label000004AA:
  543. 000004AA  2B6E 0008 9B76           move.l     [A5 - 0x648A], [A6 + 0x8]
  544. 000004B0  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  545. 000004B4  4EBA FFAC                jsr        [PC - 0x54 /* 00000462 */]
  546. 000004B8  588F                     addq.l     A7, 4
  547. 000004BA  2B40 9B72                move.l     [A5 - 0x648E], D0
  548. 000004BE  206D 9B72                movea.l    A0, [A5 - 0x648E]
  549. 000004C2  2850                     movea.l    A4, [A0]
  550. 000004C4  2B6C 0008 9B7E           move.l     [A5 - 0x6482], [A4 + 0x8]
  551. 000004CA  2B6C 0004 9B7A           move.l     [A5 - 0x6486], [A4 + 0x4]
  552. 000004D0  2B6C 000C 9B82           move.l     [A5 - 0x647E], [A4 + 0xC]
  553. 000004D6  2B6C 0010 9B86           move.l     [A5 - 0x647A], [A4 + 0x10]
  554. 000004DC  2B6C 0014 9B8A           move.l     [A5 - 0x6476], [A4 + 0x14]
  555. 000004E2  285F                     movea.l    A4, [A7]+
  556. 000004E4  4E5E                     unlink     A6
  557. 000004E6  4E75                     rts
  558. 000004E8  5359                     subq.w     [A1]+, 1
  559. 000004EA  4E43                     trap       3
  560. 000004EC  474C                     chk.w      D3, A4
  561. 000004EE  4F42                     chk.w      D7, D2
  562. fn000004F0:
  563. 000004F0  4E56 FFF8                link       A6, -0x0008
  564. 000004F4  2F07                     move.l     -[A7], D7
  565. 000004F6  486E FFF8                pea.l      [A6 - 0x8]
  566. 000004FA  A88B                     trap       GetFontInfo
  567. 000004FC  302E FFF8                move.w     D0, [A6 - 0x8]
  568. 00000500  D06E FFFA                add.w      D0, [A6 - 0x6]
  569. 00000504  D06E FFFE                add.w      D0, [A6 - 0x2]
  570. 00000508  3E00                     move.w     D7, D0
  571. 0000050A  206D 9B76                movea.l    A0, [A5 - 0x648A]
  572. 0000050E  226E 0008                movea.l    A1, [A6 + 0x8]
  573. 00000512  41E8 0010                lea.l      A0, [A0 + 0x10]
  574. 00000516  22D8                     move.l     [A1]+, [A0]+
  575. 00000518  22D8                     move.l     [A1]+, [A0]+
  576. 0000051A  206E 0008                movea.l    A0, [A6 + 0x8]
  577. 0000051E  5868 0002                addq.w     [A0 + 0x2], 4
  578. 00000522  206E 0008                movea.l    A0, [A6 + 0x8]
  579. 00000526  0668 FFEF 0006           addi.w     [A0 + 0x6], 0xFFEF
  580. 0000052C  206E 0008                movea.l    A0, [A6 + 0x8]
  581. 00000530  5450                     addq.w     [A0], 2
  582. 00000532  206E 0008                movea.l    A0, [A6 + 0x8]
  583. 00000536  226E 0008                movea.l    A1, [A6 + 0x8]
  584. 0000053A  3029 0004                move.w     D0, [A1 + 0x4]
  585. 0000053E  9050                     sub.w      D0, [A0]
  586. 00000540  5540                     subq.w     D0, 2
  587. 00000542  48C0                     ext.l      D0
  588. 00000544  81C7                     divs.w     D0, D7
  589. 00000546  C1C7                     muls.w     D0, D7
  590. 00000548  206E 0008                movea.l    A0, [A6 + 0x8]
  591. 0000054C  D050                     add.w      D0, [A0]
  592. 0000054E  206E 0008                movea.l    A0, [A6 + 0x8]
  593. 00000552  3140 0004                move.w     [A0 + 0x4], D0
  594. 00000556  2E1F                     move.l     D7, [A7]+
  595. 00000558  4E5E                     unlink     A6
  596. 0000055A  4E75                     rts
  597. 0000055C  4341                     chk.w      D1, D1
  598. 0000055E  4C43 4544                movem.l    A6,A2,A0,D6,D2, D3
  599. 00000562  4954                     chk.w      D4, [A4]
  600. fn00000564:
  601. 00000564  4E56 0000                link       A6, 0
  602. 00000568  206D 9B76                movea.l    A0, [A5 - 0x648A]
  603. 0000056C  226E 0008                movea.l    A1, [A6 + 0x8]
  604. 00000570  41E8 0010                lea.l      A0, [A0 + 0x10]
  605. 00000574  22D8                     move.l     [A1]+, [A0]+
  606. 00000576  22D8                     move.l     [A1]+, [A0]+
  607. 00000578  206E 0008                movea.l    A0, [A6 + 0x8]
  608. 0000057C  5268 0006                addq.w     [A0 + 0x6], 1
  609. 00000580  206E 0008                movea.l    A0, [A6 + 0x8]
  610. 00000584  5350                     subq.w     [A0], 1
  611. 00000586  206E 0008                movea.l    A0, [A6 + 0x8]
  612. 0000058A  3028 0006                move.w     D0, [A0 + 0x6]
  613. 0000058E  0640 FFF0                addi.w     D0, 0xFFF0
  614. 00000592  206E 0008                movea.l    A0, [A6 + 0x8]
  615. 00000596  3140 0002                move.w     [A0 + 0x2], D0
  616. 0000059A  206E 0008                movea.l    A0, [A6 + 0x8]
  617. 0000059E  0668 FFF2 0004           addi.w     [A0 + 0x4], 0xFFF2
  618. 000005A4  4E5E                     unlink     A6
  619. 000005A6  4E75                     rts
  620. 000005A8  4341                     chk.w      D1, D1
  621. 000005AA  4C43 5343                movem.l    A6,A4,A1,A0,D6,D1,D0, D3
  622. 000005AE  524F                     addq.w     A7, 1
  623. fn000005B0:
  624. 000005B0  2F0C                     move.l     -[A7], A4
  625. 000005B2  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  626. 000005B6  2850                     movea.l    A4, [A0]
  627. 000005B8  302C 0008                move.w     D0, [A4 + 0x8]
  628. 000005BC  9054                     sub.w      D0, [A4]
  629. 000005BE  48C0                     ext.l      D0
  630. 000005C0  81EC 0018                divs.w     D0, [A4 + 0x18]
  631. 000005C4  285F                     movea.l    A4, [A7]+
  632. 000005C6  4E75                     rts
  633. fn000005C8:
  634. 000005C8  42A7                     clr.l      -[A7]
  635. 000005CA  A924                     trap       FrontWindow
  636. 000005CC  205F                     movea.l    A0, [A7]+
  637. 000005CE  B1ED 9B76                cmpa.l     A0, [A5 - 0x648A]
  638. 000005D2  660E                     bne        +0x10 /* 000005E2 */
  639. 000005D4  4267                     clr.w      -[A7]
  640. 000005D6  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  641. 000005DA  A962                     trap       GetControlMaximum/GetMaxCtl
  642. 000005DC  301F                     move.w     D0, [A7]+
  643. 000005DE  4A40                     tst.w      D0
  644. 000005E0  6E06                     bgt        +0x8 /* 000005E8 */
  645. label000005E2:
  646. 000005E2  303C 00FF                move.w     D0, 0xFF
  647. 000005E6  6002                     bra        +0x4 /* 000005EA */
  648. label000005E8:
  649. 000005E8  7000                     moveq.l    D0, 0x00
  650. label000005EA:
  651. 000005EA  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  652. 000005EE  3F00                     move.w     -[A7], D0
  653. 000005F0  A95D                     trap       HiliteControl
  654. 000005F2  4E75                     rts
  655. fn000005F4:
  656. 000005F4  4E56 0000                link       A6, 0
  657. 000005F8  48E7 0700                movem.l    -[A7], D5,D6,D7
  658. 000005FC  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  659. 00000600  2050                     movea.l    A0, [A0]
  660. 00000602  3E28 0018                move.w     D7, [A0 + 0x18]
  661. 00000606  4EBA FFA8                jsr        [PC - 0x58 /* 000005B0 */]
  662. 0000060A  3A00                     move.w     D5, D0
  663. 0000060C  3005                     move.w     D0, D5
  664. 0000060E  D06E 0008                add.w      D0, [A6 + 0x8]
  665. 00000612  3C00                     move.w     D6, D0
  666. 00000614  4A46                     tst.w      D6
  667. 00000616  6C02                     bge        +0x4 /* 0000061A */
  668. 00000618  7C00                     moveq.l    D6, 0x00
  669. label0000061A:
  670. 0000061A  4267                     clr.w      -[A7]
  671. 0000061C  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  672. 00000620  A962                     trap       GetControlMaximum/GetMaxCtl
  673. 00000622  301F                     move.w     D0, [A7]+
  674. 00000624  BC40                     cmp.w      D6, D0
  675. 00000626  6F0C                     ble        +0xE /* 00000634 */
  676. 00000628  4267                     clr.w      -[A7]
  677. 0000062A  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  678. 0000062E  A962                     trap       GetControlMaximum/GetMaxCtl
  679. 00000630  301F                     move.w     D0, [A7]+
  680. 00000632  3C00                     move.w     D6, D0
  681. label00000634:
  682. 00000634  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  683. 00000638  3F06                     move.w     -[A7], D6
  684. 0000063A  A963                     trap       SetControlValue/SetCtlValue
  685. 0000063C  3005                     move.w     D0, D5
  686. 0000063E  9046                     sub.w      D0, D6
  687. 00000640  C1C7                     muls.w     D0, D7
  688. 00000642  4267                     clr.w      -[A7]
  689. 00000644  3F00                     move.w     -[A7], D0
  690. 00000646  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  691. 0000064A  A9DD                     trap       TEScroll
  692. 0000064C  4CDF 00E0                movem.l    D7,D6,D5, [A7]+
  693. 00000650  4E5E                     unlink     A6
  694. 00000652  4E75                     rts
  695. 00000654  5343                     subq.w     D3, 1
  696. 00000656  524F                     addq.w     A7, 1
  697. 00000658  4C4C 5445                movem.l    A6,A4,A2,D6,D2,D0, A4
  698. export_17:
  699. 0000065C  4E56 0000                link       A6, 0
  700. 00000660  48E7 0300                movem.l    -[A7], D6,D7
  701. 00000664  42A7                     clr.l      -[A7]
  702. 00000666  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  703. 0000066A  A95A                     trap       GetControlReference/GetCRefCon
  704. 0000066C  201F                     move.l     D0, [A7]+
  705. 0000066E  306E 0008                movea.w    A0, [A6 + 0x8]
  706. 00000672  B1C0                     cmpa.l     A0, D0
  707. 00000674  6600 0060                bne        +0x62 /* 000006D6 */
  708. 00000678  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  709. 0000067C  226D 9B7A                movea.l    A1, [A5 - 0x6486]
  710. 00000680  2251                     movea.l    A1, [A1]
  711. 00000682  2050                     movea.l    A0, [A0]
  712. 00000684  3028 000C                move.w     D0, [A0 + 0xC]
  713. 00000688  9069 0008                sub.w      D0, [A1 + 0x8]
  714. 0000068C  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  715. 00000690  2050                     movea.l    A0, [A0]
  716. 00000692  48C0                     ext.l      D0
  717. 00000694  81E8 0018                divs.w     D0, [A0 + 0x18]
  718. 00000698  48C0                     ext.l      D0
  719. 0000069A  81FC 0002                divs.w     D0, 0x2
  720. 0000069E  3C00                     move.w     D6, D0
  721. 000006A0  4A46                     tst.w      D6
  722. 000006A2  6602                     bne        +0x4 /* 000006A6 */
  723. 000006A4  5246                     addq.w     D6, 1
  724. label000006A6:
  725. 000006A6  302E 0008                move.w     D0, [A6 + 0x8]
  726. 000006AA  4EAD 003A                jsr        [A5 + 0x3A]
  727. 000006AE  0014 0017                ori.b      [A4], 0x17
  728. 000006B2  001C 0008                ori.b      [A4]+, 0x8
  729. 000006B6  000A 000C                ori.b      A2, 0xC
  730. 000006BA  0012 7EFF                ori.b      [A2], 0xFF
  731. 000006BE  600E                     bra        +0x10 /* 000006CE */
  732. 000006C0  7E01                     moveq.l    D7, 0x01
  733. 000006C2  600A                     bra        +0xC /* 000006CE */
  734. 000006C4  3006                     move.w     D0, D6
  735. 000006C6  4440                     neg.w      D0
  736. 000006C8  3E00                     move.w     D7, D0
  737. 000006CA  6002                     bra        +0x4 /* 000006CE */
  738. 000006CC  3E06                     move.w     D7, D6
  739. label000006CE:
  740. 000006CE  3F07                     move.w     -[A7], D7
  741. 000006D0  4EBA FF22                jsr        [PC - 0xDE /* 000005F4 */]
  742. 000006D4  548F                     addq.l     A7, 2
  743. label000006D6:
  744. 000006D6  4CDF 00C0                movem.l    D7,D6, [A7]+
  745. 000006DA  4E5E                     unlink     A6
  746. 000006DC  205F                     movea.l    A0, [A7]+
  747. 000006DE  4FEF 0006                lea.l      A7, [A7 + 0x6]
  748. 000006E2  4ED0                     jmp        [A0]
  749. 000006E4  5452                     addq.w     [A2], 2
  750. 000006E6  4143                     chk.w      D0, D3
  751. 000006E8  4B53                     chk.w      D5, [A3]
  752. 000006EA  4352                     chk.w      D1, [A2]
  753. fn000006EC:
  754. 000006EC  4E56 FFF8                link       A6, -0x0008
  755. 000006F0  48E7 1F00                movem.l    -[A7], D3,D4,D5,D6,D7
  756. 000006F4  486E FFF8                pea.l      [A6 - 0x8]
  757. 000006F8  4EBA FDF6                jsr        [PC - 0x20A /* 000004F0 */]
  758. 000006FC  588F                     addq.l     A7, 4
  759. 000006FE  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  760. 00000702  2050                     movea.l    A0, [A0]
  761. 00000704  316E FFFE 0006           move.w     [A0 + 0x6], [A6 - 0x2]
  762. 0000070A  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  763. 0000070E  2050                     movea.l    A0, [A0]
  764. 00000710  5088                     addq.l     A0, 8
  765. 00000712  43EE FFF8                lea.l      A1, [A6 - 0x8]
  766. 00000716  20D9                     move.l     [A0]+, [A1]+
  767. 00000718  20D9                     move.l     [A0]+, [A1]+
  768. 0000071A  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  769. 0000071E  A9D0                     trap       TECalText
  770. 00000720  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  771. 00000724  2050                     movea.l    A0, [A0]
  772. 00000726  3628 0018                move.w     D3, [A0 + 0x18]
  773. 0000072A  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  774. 0000072E  2050                     movea.l    A0, [A0]
  775. 00000730  3E28 005E                move.w     D7, [A0 + 0x5E]
  776. 00000734  302E FFFC                move.w     D0, [A6 - 0x4]
  777. 00000738  906E FFF8                sub.w      D0, [A6 - 0x8]
  778. 0000073C  48C0                     ext.l      D0
  779. 0000073E  81C3                     divs.w     D0, D3
  780. 00000740  3C00                     move.w     D6, D0
  781. 00000742  4EBA FE6C                jsr        [PC - 0x194 /* 000005B0 */]
  782. 00000746  3A00                     move.w     D5, D0
  783. 00000748  3007                     move.w     D0, D7
  784. 0000074A  9045                     sub.w      D0, D5
  785. 0000074C  3206                     move.w     D1, D6
  786. 0000074E  9240                     sub.w      D1, D0
  787. 00000750  3801                     move.w     D4, D1
  788. 00000752  4A44                     tst.w      D4
  789. 00000754  6F1A                     ble        +0x1C /* 00000770 */
  790. 00000756  4A45                     tst.w      D5
  791. 00000758  6F16                     ble        +0x18 /* 00000770 */
  792. 0000075A  B845                     cmp.w      D4, D5
  793. 0000075C  6F02                     ble        +0x4 /* 00000760 */
  794. 0000075E  3805                     move.w     D4, D5
  795. label00000760:
  796. 00000760  3004                     move.w     D0, D4
  797. 00000762  C1C3                     muls.w     D0, D3
  798. 00000764  4267                     clr.w      -[A7]
  799. 00000766  3F00                     move.w     -[A7], D0
  800. 00000768  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  801. 0000076C  A9DD                     trap       TEScroll
  802. 0000076E  9A44                     sub.w      D5, D4
  803. label00000770:
  804. 00000770  486E FFF8                pea.l      [A6 - 0x8]
  805. 00000774  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  806. 00000778  A9D3                     trap       TEUpdate
  807. 0000077A  3007                     move.w     D0, D7
  808. 0000077C  9046                     sub.w      D0, D6
  809. 0000077E  4A40                     tst.w      D0
  810. 00000780  6D06                     blt        +0x8 /* 00000788 */
  811. 00000782  3007                     move.w     D0, D7
  812. 00000784  9046                     sub.w      D0, D6
  813. 00000786  6002                     bra        +0x4 /* 0000078A */
  814. label00000788:
  815. 00000788  7000                     moveq.l    D0, 0x00
  816. label0000078A:
  817. 0000078A  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  818. 0000078E  3F00                     move.w     -[A7], D0
  819. 00000790  A965                     trap       SetControlMaximum/SetMaxCtl
  820. 00000792  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  821. 00000796  3F05                     move.w     -[A7], D5
  822. 00000798  A963                     trap       SetControlValue/SetCtlValue
  823. 0000079A  4EBA FE2C                jsr        [PC - 0x1D4 /* 000005C8 */]
  824. 0000079E  4CDF 00F8                movem.l    D7,D6,D5,D4,D3, [A7]+
  825. 000007A2  4E5E                     unlink     A6
  826. 000007A4  4E75                     rts
  827. 000007A6  4F56                     chk.w      D7, [A6]
  828. 000007A8  4552                     chk.w      D2, [A2]
  829. 000007AA  4841                     swap.w     D1
  830. 000007AC  554C                     subq.w     A4, 2
  831. export_19:
  832. 000007AE  4E56 0000                link       A6, 0
  833. 000007B2  42A7                     clr.l      -[A7]
  834. 000007B4  4EBA FCE2                jsr        [PC - 0x31E /* 00000498 */]
  835. 000007B8  588F                     addq.l     A7, 4
  836. 000007BA  4EBA FC4A                jsr        [PC - 0x3B6 /* 00000406 */]
  837. 000007BE  4EBA FE08                jsr        [PC - 0x1F8 /* 000005C8 */]
  838. 000007C2  4AAD 9B82                tst.l      [A5 - 0x647E]
  839. 000007C6  6710                     beq        +0x12 /* 000007D8 */
  840. 000007C8  102E 0009                move.b     D0, [A6 + 0x9]
  841. 000007CC  4880                     ext.w      D0
  842. 000007CE  3F00                     move.w     -[A7], D0
  843. 000007D0  206D 9B82                movea.l    A0, [A5 - 0x647E]
  844. 000007D4  4E90                     jsr        [A0]
  845. 000007D6  548F                     addq.l     A7, 2
  846. label000007D8:
  847. 000007D8  4E5E                     unlink     A6
  848. 000007DA  4E75                     rts
  849. 000007DC  4143                     chk.w      D0, D3
  850. 000007DE  5449                     addq.w     A1, 2
  851. 000007E0  5641                     addq.w     D1, 3
  852. 000007E2  5445                     addq.w     D5, 2
  853. export_20:
  854. 000007E4  4E56 FFF8                link       A6, -0x0008
  855. 000007E8  42A7                     clr.l      -[A7]
  856. 000007EA  4EBA FCAC                jsr        [PC - 0x354 /* 00000498 */]
  857. 000007EE  588F                     addq.l     A7, 4
  858. 000007F0  206D 9B76                movea.l    A0, [A5 - 0x648A]
  859. 000007F4  43EE FFF8                lea.l      A1, [A6 - 0x8]
  860. 000007F8  41E8 0010                lea.l      A0, [A0 + 0x10]
  861. 000007FC  22D8                     move.l     [A1]+, [A0]+
  862. 000007FE  22D8                     move.l     [A1]+, [A0]+
  863. 00000800  486E FFF8                pea.l      [A6 - 0x8]
  864. 00000804  A8A3                     trap       EraseRect
  865. 00000806  4A2E 0009                tst.b      [A6 + 0x9]
  866. 0000080A  6754                     beq        +0x56 /* 00000860 */
  867. 0000080C  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  868. 00000810  A958                     trap       HideControl
  869. 00000812  206D 9B7E                movea.l    A0, [A5 - 0x6482]
  870. 00000816  2050                     movea.l    A0, [A0]
  871. 00000818  43EE FFF8                lea.l      A1, [A6 - 0x8]
  872. 0000081C  5088                     addq.l     A0, 8
  873. 0000081E  22D8                     move.l     [A1]+, [A0]+
  874. 00000820  22D8                     move.l     [A1]+, [A0]+
  875. 00000822  486E FFF8                pea.l      [A6 - 0x8]
  876. 00000826  A92A                     trap       ValidRect
  877. 00000828  486E FFF8                pea.l      [A6 - 0x8]
  878. 0000082C  4EBA FD36                jsr        [PC - 0x2CA /* 00000564 */]
  879. 00000830  588F                     addq.l     A7, 4
  880. 00000832  302E FFFC                move.w     D0, [A6 - 0x4]
  881. 00000836  906E FFF8                sub.w      D0, [A6 - 0x8]
  882. 0000083A  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  883. 0000083E  3F3C 0010                move.w     -[A7], 0x10
  884. 00000842  3F00                     move.w     -[A7], D0
  885. 00000844  A95C                     trap       SizeControl
  886. 00000846  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  887. 0000084A  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  888. 0000084E  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  889. 00000852  A959                     trap       MoveControl
  890. 00000854  4EBA FE96                jsr        [PC - 0x16A /* 000006EC */]
  891. 00000858  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  892. 0000085C  A957                     trap       ShowControl
  893. 0000085E  601A                     bra        +0x1C /* 0000087A */
  894. label00000860:
  895. 00000860  206D 9B7A                movea.l    A0, [A5 - 0x6486]
  896. 00000864  2050                     movea.l    A0, [A0]
  897. 00000866  43EE FFF8                lea.l      A1, [A6 - 0x8]
  898. 0000086A  5088                     addq.l     A0, 8
  899. 0000086C  22D8                     move.l     [A1]+, [A0]+
  900. 0000086E  22D8                     move.l     [A1]+, [A0]+
  901. 00000870  486E FFF8                pea.l      [A6 - 0x8]
  902. 00000874  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  903. 00000878  A9D3                     trap       TEUpdate
  904. label0000087A:
  905. 0000087A  4EBA FB8A                jsr        [PC - 0x476 /* 00000406 */]
  906. 0000087E  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  907. 00000882  A969                     trap       DrawControls
  908. 00000884  4E5E                     unlink     A6
  909. 00000886  4E75                     rts
  910. 00000888  5550                     subq.w     [A0], 2
  911. 0000088A  4441                     neg.w      D1
  912. 0000088C  5445                     addq.w     D5, 2
  913. 0000088E  2020                     move.l     D0, -[A0]
  914. export_21:
  915. 00000890  4E56 0000                link       A6, 0
  916. 00000894  48E7 0300                movem.l    -[A7], D6,D7
  917. 00000898  42A7                     clr.l      -[A7]
  918. 0000089A  4EBA FBFC                jsr        [PC - 0x404 /* 00000498 */]
  919. 0000089E  588F                     addq.l     A7, 4
  920. 000008A0  4267                     clr.w      -[A7]
  921. 000008A2  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  922. 000008A6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  923. 000008AA  A966                     trap       TestControl
  924. 000008AC  301F                     move.w     D0, [A7]+
  925. 000008AE  3E00                     move.w     D7, D0
  926. 000008B0  0C40 0081                cmpi.w     D0, 0x81
  927. 000008B4  6638                     bne        +0x3A /* 000008EE */
  928. 000008B6  4267                     clr.w      -[A7]
  929. 000008B8  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  930. 000008BC  A960                     trap       GetControlValue/GetCtlValue
  931. 000008BE  301F                     move.w     D0, [A7]+
  932. 000008C0  3C00                     move.w     D6, D0
  933. 000008C2  4267                     clr.w      -[A7]
  934. 000008C4  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  935. 000008C8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  936. 000008CC  42A7                     clr.l      -[A7]
  937. 000008CE  A968                     trap       TrackControl
  938. 000008D0  301F                     move.w     D0, [A7]+
  939. 000008D2  0C40 0081                cmpi.w     D0, 0x81
  940. 000008D6  6636                     bne        +0x38 /* 0000090E */
  941. 000008D8  4267                     clr.w      -[A7]
  942. 000008DA  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  943. 000008DE  A960                     trap       GetControlValue/GetCtlValue
  944. 000008E0  301F                     move.w     D0, [A7]+
  945. 000008E2  9046                     sub.w      D0, D6
  946. 000008E4  3F00                     move.w     -[A7], D0
  947. 000008E6  4EBA FD0C                jsr        [PC - 0x2F4 /* 000005F4 */]
  948. 000008EA  548F                     addq.l     A7, 2
  949. 000008EC  6020                     bra        +0x22 /* 0000090E */
  950. label000008EE:
  951. 000008EE  4A47                     tst.w      D7
  952. 000008F0  671C                     beq        +0x1E /* 0000090E */
  953. 000008F2  3047                     movea.w    A0, D7
  954. 000008F4  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  955. 000008F8  2F08                     move.l     -[A7], A0
  956. 000008FA  A95B                     trap       SetControlReference/SetCRefCon
  957. 000008FC  4267                     clr.w      -[A7]
  958. 000008FE  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  959. 00000902  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  960. 00000906  486D 00AA                pea.l      [A5 + 0xAA]
  961. 0000090A  A968                     trap       TrackControl
  962. 0000090C  301F                     move.w     D0, [A7]+
  963. label0000090E:
  964. 0000090E  4CDF 00C0                movem.l    D7,D6, [A7]+
  965. 00000912  4E5E                     unlink     A6
  966. 00000914  4E75                     rts
  967. 00000916  4D4F                     chk.w      D6, A7
  968. 00000918  5553                     subq.w     [A3], 2
  969. 0000091A  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  970. 0000091C  2020                     move.l     D0, -[A0]
  971. export_18:
  972. 0000091E  48E7 0018                movem.l    -[A7], A3,A4
  973. 00000922  42A7                     clr.l      -[A7]
  974. 00000924  4EBA FB72                jsr        [PC - 0x48E /* 00000498 */]
  975. 00000928  588F                     addq.l     A7, 4
  976. 0000092A  202D 9B76                move.l     D0, [A5 - 0x648A]
  977. 0000092E  B0AD 9B8E                cmp.l      D0, [A5 - 0x6472]
  978. 00000932  6608                     bne        +0xA /* 0000093C */
  979. 00000934  42A7                     clr.l      -[A7]
  980. 00000936  4EBA 02AA                jsr        [PC + 0x2AA /* 00000BE2 */]
  981. 0000093A  588F                     addq.l     A7, 4
  982. label0000093C:
  983. 0000093C  206D 9B6E                movea.l    A0, [A5 - 0x6492]
  984. 00000940  2050                     movea.l    A0, [A0]
  985. 00000942  2010                     move.l     D0, [A0]
  986. 00000944  B0AD 9B76                cmp.l      D0, [A5 - 0x648A]
  987. 00000948  6612                     bne        +0x14 /* 0000095C */
  988. 0000094A  266D 9B6E                movea.l    A3, [A5 - 0x6492]
  989. 0000094E  206D 9B6E                movea.l    A0, [A5 - 0x6492]
  990. 00000952  2050                     movea.l    A0, [A0]
  991. 00000954  2B68 0018 9B6E           move.l     [A5 - 0x6492], [A0 + 0x18]
  992. 0000095A  602A                     bra        +0x2C /* 00000986 */
  993. label0000095C:
  994. 0000095C  286D 9B6E                movea.l    A4, [A5 - 0x6492]
  995. 00000960  601E                     bra        +0x20 /* 00000980 */
  996. label00000962:
  997. 00000962  2054                     movea.l    A0, [A4]
  998. 00000964  2668 0018                movea.l    A3, [A0 + 0x18]
  999. 00000968  2053                     movea.l    A0, [A3]
  1000. 0000096A  2010                     move.l     D0, [A0]
  1001. 0000096C  B0AD 9B76                cmp.l      D0, [A5 - 0x648A]
  1002. 00000970  660C                     bne        +0xE /* 0000097E */
  1003. 00000972  2053                     movea.l    A0, [A3]
  1004. 00000974  2254                     movea.l    A1, [A4]
  1005. 00000976  2368 0018 0018           move.l     [A1 + 0x18], [A0 + 0x18]
  1006. 0000097C  6008                     bra        +0xA /* 00000986 */
  1007. label0000097E:
  1008. 0000097E  284B                     movea.l    A4, A3
  1009. label00000980:
  1010. 00000980  B8FC 0000                cmpa.w     A4, 0x0
  1011. 00000984  66DC                     bne        -0x22 /* 00000962 */
  1012. label00000986:
  1013. 00000986  2F0B                     move.l     -[A7], A3
  1014. 00000988  4EAD 0202                jsr        [A5 + 0x202]
  1015. 0000098C  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  1016. 00000990  A9CD                     trap       TEDispose
  1017. 00000992  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1018. 00000996  A914                     trap       DisposeWindow
  1019. 00000998  42AD 9B76                clr.l      [A5 - 0x648A]
  1020. 0000099C  4CDF 1800                movem.l    A4,A3, [A7]+
  1021. 000009A0  4E75                     rts
  1022. fn000009A2:
  1023. 000009A2  4E56 0000                link       A6, 0
  1024. 000009A6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1025. 000009AA  4EBA FAB6                jsr        [PC - 0x54A /* 00000462 */]
  1026. 000009AE  588F                     addq.l     A7, 4
  1027. 000009B0  4A80                     tst.l      D0
  1028. 000009B2  56C0                     sne        D0
  1029. 000009B4  4400                     neg.b      D0
  1030. 000009B6  4880                     ext.w      D0
  1031. 000009B8  4E5E                     unlink     A6
  1032. 000009BA  4E75                     rts
  1033. 000009BC  4953                     chk.w      D4, [A3]
  1034. 000009BE  4457                     neg.w      [A7]
  1035. 000009C0  494E                     chk.w      D4, A6
  1036. 000009C2  444F                     neg.w      A7
  1037. 000009C4  4E56 0000                link       A6, 0
  1038. 000009C8  2F0C                     move.l     -[A7], A4
  1039. 000009CA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1040. 000009CE  4EBA FA92                jsr        [PC - 0x56E /* 00000462 */]
  1041. 000009D2  588F                     addq.l     A7, 4
  1042. 000009D4  4A80                     tst.l      D0
  1043. 000009D6  6708                     beq        +0xA /* 000009E0 */
  1044. 000009D8  2054                     movea.l    A0, [A4]
  1045. 000009DA  2028 0004                move.l     D0, [A0 + 0x4]
  1046. 000009DE  6002                     bra        +0x4 /* 000009E2 */
  1047. label000009E0:
  1048. 000009E0  7000                     moveq.l    D0, 0x00
  1049. label000009E2:
  1050. 000009E2  285F                     movea.l    A4, [A7]+
  1051. 000009E4  4E5E                     unlink     A6
  1052. 000009E6  4E75                     rts
  1053. 000009E8  4745                     chk.w      D3, D5
  1054. 000009EA  5444                     addq.w     D4, 2
  1055. 000009EC  5749                     subq.w     A1, 3
  1056. 000009EE  4E44                     trap       4
  1057. fn000009F0:
  1058. 000009F0  4E56 FFEC                link       A6, -0x0014
  1059. 000009F4  2F0C                     move.l     -[A7], A4
  1060. 000009F6  4AAE 0008                tst.l      [A6 + 0x8]
  1061. 000009FA  661C                     bne        +0x1E /* 00000A18 */
  1062. 000009FC  3B6E 000C 9B5A           move.w     [A5 - 0x64A6], [A6 + 0xC]
  1063. 00000A02  3B6E 000E 9B5C           move.w     [A5 - 0x64A4], [A6 + 0xE]
  1064. 00000A08  3B6E 0010 9B5E           move.w     [A5 - 0x64A2], [A6 + 0x10]
  1065. 00000A0E  3B6E 0012 9B60           move.w     [A5 - 0x64A0], [A6 + 0x12]
  1066. 00000A14  6000 00B8                bra        +0xBA /* 00000ACE */
  1067. label00000A18:
  1068. 00000A18  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1069. 00000A1C  4EBA FF84                jsr        [PC - 0x7C /* 000009A2 */]
  1070. 00000A20  588F                     addq.l     A7, 4
  1071. 00000A22  4A00                     tst.b      D0
  1072. 00000A24  6700 00A8                beq        +0xAA /* 00000ACE */
  1073. 00000A28  486E FFFC                pea.l      [A6 - 0x4]
  1074. 00000A2C  A874                     trap       GetPort
  1075. 00000A2E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1076. 00000A32  4EBA FA64                jsr        [PC - 0x59C /* 00000498 */]
  1077. 00000A36  588F                     addq.l     A7, 4
  1078. 00000A38  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1079. 00000A3C  A873                     trap       SetPort
  1080. 00000A3E  286D 9B7A                movea.l    A4, [A5 - 0x6486]
  1081. 00000A42  2054                     movea.l    A0, [A4]
  1082. 00000A44  43EE FFEC                lea.l      A1, [A6 - 0x14]
  1083. 00000A48  5088                     addq.l     A0, 8
  1084. 00000A4A  22D8                     move.l     [A1]+, [A0]+
  1085. 00000A4C  22D8                     move.l     [A1]+, [A0]+
  1086. 00000A4E  486E FFEC                pea.l      [A6 - 0x14]
  1087. 00000A52  A8A3                     trap       EraseRect
  1088. 00000A54  2054                     movea.l    A0, [A4]
  1089. 00000A56  43EE FFEC                lea.l      A1, [A6 - 0x14]
  1090. 00000A5A  22D8                     move.l     [A1]+, [A0]+
  1091. 00000A5C  22D8                     move.l     [A1]+, [A0]+
  1092. 00000A5E  7002                     moveq.l    D0, 0x02
  1093. 00000A60  906E FFEC                sub.w      D0, [A6 - 0x14]
  1094. 00000A64  486E FFEC                pea.l      [A6 - 0x14]
  1095. 00000A68  4267                     clr.w      -[A7]
  1096. 00000A6A  3F00                     move.w     -[A7], D0
  1097. 00000A6C  A8A8                     trap       OffsetRect
  1098. 00000A6E  2054                     movea.l    A0, [A4]
  1099. 00000A70  43EE FFEC                lea.l      A1, [A6 - 0x14]
  1100. 00000A74  20D9                     move.l     [A0]+, [A1]+
  1101. 00000A76  20D9                     move.l     [A0]+, [A1]+
  1102. 00000A78  2054                     movea.l    A0, [A4]
  1103. 00000A7A  316E 0010 0048           move.w     [A0 + 0x48], [A6 + 0x10]
  1104. 00000A80  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  1105. 00000A84  2F0C                     move.l     -[A7], A4
  1106. 00000A86  A9DF                     trap       TESetAlignment/TESetJust
  1107. 00000A88  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  1108. 00000A8C  A887                     trap       TextFont
  1109. 00000A8E  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  1110. 00000A92  A88A                     trap       TextSize
  1111. 00000A94  486E FFF4                pea.l      [A6 - 0xC]
  1112. 00000A98  A88B                     trap       GetFontInfo
  1113. 00000A9A  302E FFF4                move.w     D0, [A6 - 0xC]
  1114. 00000A9E  D06E FFF6                add.w      D0, [A6 - 0xA]
  1115. 00000AA2  D06E FFFA                add.w      D0, [A6 - 0x6]
  1116. 00000AA6  2054                     movea.l    A0, [A4]
  1117. 00000AA8  3140 0018                move.w     [A0 + 0x18], D0
  1118. 00000AAC  2054                     movea.l    A0, [A4]
  1119. 00000AAE  316E FFF4 001A           move.w     [A0 + 0x1A], [A6 - 0xC]
  1120. 00000AB4  2054                     movea.l    A0, [A4]
  1121. 00000AB6  316E 000C 004A           move.w     [A0 + 0x4A], [A6 + 0xC]
  1122. 00000ABC  2054                     movea.l    A0, [A4]
  1123. 00000ABE  316E 000E 0050           move.w     [A0 + 0x50], [A6 + 0xE]
  1124. 00000AC4  4EBA FC26                jsr        [PC - 0x3DA /* 000006EC */]
  1125. 00000AC8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1126. 00000ACC  A873                     trap       SetPort
  1127. label00000ACE:
  1128. 00000ACE  285F                     movea.l    A4, [A7]+
  1129. 00000AD0  4E5E                     unlink     A6
  1130. 00000AD2  4E75                     rts
  1131. 00000AD4  5345                     subq.w     D5, 1
  1132. 00000AD6  5444                     addq.w     D4, 2
  1133. 00000AD8  5749                     subq.w     A1, 3
  1134. 00000ADA  4E44                     trap       4
  1135. fn00000ADC:
  1136. 00000ADC  4E56 FFFC                link       A6, -0x0004
  1137. 00000AE0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1138. 00000AE4  4EBA FEBC                jsr        [PC - 0x144 /* 000009A2 */]
  1139. 00000AE8  588F                     addq.l     A7, 4
  1140. 00000AEA  4A00                     tst.b      D0
  1141. 00000AEC  6734                     beq        +0x36 /* 00000B22 */
  1142. 00000AEE  486E FFFC                pea.l      [A6 - 0x4]
  1143. 00000AF2  A874                     trap       GetPort
  1144. 00000AF4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1145. 00000AF8  4EBA F99E                jsr        [PC - 0x662 /* 00000498 */]
  1146. 00000AFC  588F                     addq.l     A7, 4
  1147. 00000AFE  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1148. 00000B02  A873                     trap       SetPort
  1149. 00000B04  4267                     clr.w      -[A7]
  1150. 00000B06  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  1151. 00000B0A  A960                     trap       GetControlValue/GetCtlValue
  1152. 00000B0C  301F                     move.w     D0, [A7]+
  1153. 00000B0E  322E 000C                move.w     D1, [A6 + 0xC]
  1154. 00000B12  9240                     sub.w      D1, D0
  1155. 00000B14  3F01                     move.w     -[A7], D1
  1156. 00000B16  4EBA FADC                jsr        [PC - 0x524 /* 000005F4 */]
  1157. 00000B1A  548F                     addq.l     A7, 2
  1158. 00000B1C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1159. 00000B20  A873                     trap       SetPort
  1160. label00000B22:
  1161. 00000B22  4E5E                     unlink     A6
  1162. 00000B24  4E75                     rts
  1163. 00000B26  5345                     subq.w     D5, 1
  1164. 00000B28  5444                     addq.w     D4, 2
  1165. 00000B2A  5749                     subq.w     A1, 3
  1166. 00000B2C  4E44                     trap       4
  1167. fn00000B2E:
  1168. 00000B2E  4E56 0000                link       A6, 0
  1169. 00000B32  2F0C                     move.l     -[A7], A4
  1170. 00000B34  4AAE 0008                tst.l      [A6 + 0x8]
  1171. 00000B38  6608                     bne        +0xA /* 00000B42 */
  1172. 00000B3A  2B6E 000C 9B6A           move.l     [A5 - 0x6496], [A6 + 0xC]
  1173. 00000B40  6018                     bra        +0x1A /* 00000B5A */
  1174. label00000B42:
  1175. 00000B42  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1176. 00000B46  4EBA F91A                jsr        [PC - 0x6E6 /* 00000462 */]
  1177. 00000B4A  588F                     addq.l     A7, 4
  1178. 00000B4C  2840                     movea.l    A4, D0
  1179. 00000B4E  4A80                     tst.l      D0
  1180. 00000B50  6708                     beq        +0xA /* 00000B5A */
  1181. 00000B52  2054                     movea.l    A0, [A4]
  1182. 00000B54  216E 000C 000C           move.l     [A0 + 0xC], [A6 + 0xC]
  1183. label00000B5A:
  1184. 00000B5A  285F                     movea.l    A4, [A7]+
  1185. 00000B5C  4E5E                     unlink     A6
  1186. 00000B5E  4E75                     rts
  1187. 00000B60  5345                     subq.w     D5, 1
  1188. 00000B62  5444                     addq.w     D4, 2
  1189. 00000B64  5749                     subq.w     A1, 3
  1190. 00000B66  4E44                     trap       4
  1191. fn00000B68:
  1192. 00000B68  4E56 0000                link       A6, 0
  1193. 00000B6C  2F0C                     move.l     -[A7], A4
  1194. 00000B6E  0CAE 0000 7FFF 000C      cmpi.l     [A6 + 0xC], 0x7FFF
  1195. 00000B76  6F08                     ble        +0xA /* 00000B80 */
  1196. 00000B78  2D7C 0000 7FFF 000C      move.l     [A6 + 0xC], 0x7FFF
  1197. label00000B80:
  1198. 00000B80  0CAE 0000 0064 000C      cmpi.l     [A6 + 0xC], 0x64 /* 'd' */
  1199. 00000B88  6C06                     bge        +0x8 /* 00000B90 */
  1200. 00000B8A  7064                     moveq.l    D0, 0x64
  1201. 00000B8C  2D40 000C                move.l     [A6 + 0xC], D0
  1202. label00000B90:
  1203. 00000B90  0CAE 0000 0064 0010      cmpi.l     [A6 + 0x10], 0x64 /* 'd' */
  1204. 00000B98  6C06                     bge        +0x8 /* 00000BA0 */
  1205. 00000B9A  7064                     moveq.l    D0, 0x64
  1206. 00000B9C  2D40 0010                move.l     [A6 + 0x10], D0
  1207. label00000BA0:
  1208. 00000BA0  4AAE 0008                tst.l      [A6 + 0x8]
  1209. 00000BA4  660E                     bne        +0x10 /* 00000BB4 */
  1210. 00000BA6  2B6E 000C 9B62           move.l     [A5 - 0x649E], [A6 + 0xC]
  1211. 00000BAC  2B6E 0010 9B66           move.l     [A5 - 0x649A], [A6 + 0x10]
  1212. 00000BB2  6020                     bra        +0x22 /* 00000BD4 */
  1213. label00000BB4:
  1214. 00000BB4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1215. 00000BB8  4EBA F8A8                jsr        [PC - 0x758 /* 00000462 */]
  1216. 00000BBC  588F                     addq.l     A7, 4
  1217. 00000BBE  2840                     movea.l    A4, D0
  1218. 00000BC0  4A80                     tst.l      D0
  1219. 00000BC2  6710                     beq        +0x12 /* 00000BD4 */
  1220. 00000BC4  2054                     movea.l    A0, [A4]
  1221. 00000BC6  216E 000C 0010           move.l     [A0 + 0x10], [A6 + 0xC]
  1222. 00000BCC  2054                     movea.l    A0, [A4]
  1223. 00000BCE  216E 0010 0014           move.l     [A0 + 0x14], [A6 + 0x10]
  1224. label00000BD4:
  1225. 00000BD4  285F                     movea.l    A4, [A7]+
  1226. 00000BD6  4E5E                     unlink     A6
  1227. 00000BD8  4E75                     rts
  1228. 00000BDA  5345                     subq.w     D5, 1
  1229. 00000BDC  5444                     addq.w     D4, 2
  1230. 00000BDE  5749                     subq.w     A1, 3
  1231. 00000BE0  4E44                     trap       4
  1232. fn00000BE2:
  1233. 00000BE2  4E56 0000                link       A6, 0
  1234. 00000BE6  4AAE 0008                tst.l      [A6 + 0x8]
  1235. 00000BEA  670E                     beq        +0x10 /* 00000BFA */
  1236. 00000BEC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1237. 00000BF0  4EBA FDB0                jsr        [PC - 0x250 /* 000009A2 */]
  1238. 00000BF4  588F                     addq.l     A7, 4
  1239. 00000BF6  4A00                     tst.b      D0
  1240. 00000BF8  6706                     beq        +0x8 /* 00000C00 */
  1241. label00000BFA:
  1242. 00000BFA  2B6E 0008 9B8E           move.l     [A5 - 0x6472], [A6 + 0x8]
  1243. label00000C00:
  1244. 00000C00  4E5E                     unlink     A6
  1245. 00000C02  4E75                     rts
  1246. 00000C04  5345                     subq.w     D5, 1
  1247. 00000C06  5444                     addq.w     D4, 2
  1248. 00000C08  5749                     subq.w     A1, 3
  1249. 00000C0A  4E44                     trap       4
  1250. 00000C0C  4E56 0000                link       A6, 0
  1251. 00000C10  206E 0008                movea.l    A0, [A6 + 0x8]
  1252. 00000C14  20AD 9B8E                move.l     [A0], [A5 - 0x6472]
  1253. 00000C18  4E5E                     unlink     A6
  1254. 00000C1A  4E75                     rts
  1255. 00000C1C  4745                     chk.w      D3, D5
  1256. 00000C1E  5444                     addq.w     D4, 2
  1257. 00000C20  5749                     subq.w     A1, 3
  1258. 00000C22  4E44                     trap       4
  1259. fn00000C24:
  1260. 00000C24  4E56 0000                link       A6, 0
  1261. 00000C28  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1262. 00000C2C  4EBA FD74                jsr        [PC - 0x28C /* 000009A2 */]
  1263. 00000C30  588F                     addq.l     A7, 4
  1264. 00000C32  4A00                     tst.b      D0
  1265. 00000C34  6720                     beq        +0x22 /* 00000C56 */
  1266. 00000C36  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1267. 00000C3A  4EBA F85C                jsr        [PC - 0x7A4 /* 00000498 */]
  1268. 00000C3E  588F                     addq.l     A7, 4
  1269. 00000C40  42A7                     clr.l      -[A7]
  1270. 00000C42  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1271. 00000C46  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  1272. 00000C4A  A9D1                     trap       TESetSelect
  1273. 00000C4C  2F2D 9B7A                move.l     -[A7], [A5 - 0x6486]
  1274. 00000C50  A9D7                     trap       TEDelete
  1275. 00000C52  4EBA FA98                jsr        [PC - 0x568 /* 000006EC */]
  1276. label00000C56:
  1277. 00000C56  4E5E                     unlink     A6
  1278. 00000C58  4E75                     rts
  1279. 00000C5A  464C                     not.w      A4
  1280. 00000C5C  5553                     subq.w     [A3], 2
  1281. 00000C5E  4844                     swap.w     D4
  1282. 00000C60  5749                     subq.w     A1, 3
  1283. fn00000C62:
  1284. 00000C62  4E56 FFF4                link       A6, -0x000C
  1285. 00000C66  2F0C                     move.l     -[A7], A4
  1286. 00000C68  486E FFF4                pea.l      [A6 - 0xC]
  1287. 00000C6C  A874                     trap       GetPort
  1288. 00000C6E  4267                     clr.w      -[A7]
  1289. 00000C70  42A7                     clr.l      -[A7]
  1290. 00000C72  486D 00B2                pea.l      [A5 + 0xB2]
  1291. 00000C76  42A7                     clr.l      -[A7]
  1292. 00000C78  486D 00BA                pea.l      [A5 + 0xBA]
  1293. 00000C7C  486D 00C2                pea.l      [A5 + 0xC2]
  1294. 00000C80  42A7                     clr.l      -[A7]
  1295. 00000C82  486D 00CA                pea.l      [A5 + 0xCA]
  1296. 00000C86  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1297. 00000C8A  4EBA 0E08                jsr        [PC + 0xE08 /* 00001A94 */]
  1298. 00000C8E  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1299. 00000C92  4A40                     tst.w      D0
  1300. 00000C94  660C                     bne        +0xE /* 00000CA2 */
  1301. 00000C96  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1302. 00000C9A  A873                     trap       SetPort
  1303. 00000C9C  7000                     moveq.l    D0, 0x00
  1304. 00000C9E  6000 00CE                bra        +0xD0 /* 00000D6E */
  1305. label00000CA2:
  1306. 00000CA2  486E FFF8                pea.l      [A6 - 0x8]
  1307. 00000CA6  4EBA F8BC                jsr        [PC - 0x744 /* 00000564 */]
  1308. 00000CAA  588F                     addq.l     A7, 4
  1309. 00000CAC  42A7                     clr.l      -[A7]
  1310. 00000CAE  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1311. 00000CB2  486E FFF8                pea.l      [A6 - 0x8]
  1312. 00000CB6  486D 9B92                pea.l      [A5 - 0x646E]
  1313. 00000CBA  1F3C 0001                move.b     -[A7], 0x1
  1314. 00000CBE  4267                     clr.w      -[A7]
  1315. 00000CC0  4267                     clr.w      -[A7]
  1316. 00000CC2  4267                     clr.w      -[A7]
  1317. 00000CC4  3F3C 0010                move.w     -[A7], 0x10
  1318. 00000CC8  42A7                     clr.l      -[A7]
  1319. 00000CCA  A954                     trap       NewControl
  1320. 00000CCC  205F                     movea.l    A0, [A7]+
  1321. 00000CCE  2B48 9B7E                move.l     [A5 - 0x6482], A0
  1322. 00000CD2  486E FFF8                pea.l      [A6 - 0x8]
  1323. 00000CD6  4EBA F818                jsr        [PC - 0x7E8 /* 000004F0 */]
  1324. 00000CDA  588F                     addq.l     A7, 4
  1325. 00000CDC  42A7                     clr.l      -[A7]
  1326. 00000CDE  486E FFF8                pea.l      [A6 - 0x8]
  1327. 00000CE2  486E FFF8                pea.l      [A6 - 0x8]
  1328. 00000CE6  A9D2                     trap       TENew
  1329. 00000CE8  205F                     movea.l    A0, [A7]+
  1330. 00000CEA  2B48 9B7A                move.l     [A5 - 0x6486], A0
  1331. 00000CEE  42A7                     clr.l      -[A7]
  1332. 00000CF0  4878 001C                pea.l      [0x0000001C /* __m68k_vec_trapv__ */]
  1333. 00000CF4  4EAD 01FA                jsr        [A5 + 0x1FA]
  1334. 00000CF8  205F                     movea.l    A0, [A7]+
  1335. 00000CFA  2848                     movea.l    A4, A0
  1336. 00000CFC  2054                     movea.l    A0, [A4]
  1337. 00000CFE  216D 9B6E 0018           move.l     [A0 + 0x18], [A5 - 0x6492]
  1338. 00000D04  2B4C 9B6E                move.l     [A5 - 0x6492], A4
  1339. 00000D08  2054                     movea.l    A0, [A4]
  1340. 00000D0A  20AD 9B76                move.l     [A0], [A5 - 0x648A]
  1341. 00000D0E  2054                     movea.l    A0, [A4]
  1342. 00000D10  216D 9B7E 0008           move.l     [A0 + 0x8], [A5 - 0x6482]
  1343. 00000D16  2054                     movea.l    A0, [A4]
  1344. 00000D18  216D 9B7A 0004           move.l     [A0 + 0x4], [A5 - 0x6486]
  1345. 00000D1E  2F2D 9B6A                move.l     -[A7], [A5 - 0x6496]
  1346. 00000D22  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1347. 00000D26  4EBA FE06                jsr        [PC - 0x1FA /* 00000B2E */]
  1348. 00000D2A  508F                     addq.l     A7, 8
  1349. 00000D2C  2F2D 9B66                move.l     -[A7], [A5 - 0x649A]
  1350. 00000D30  2F2D 9B62                move.l     -[A7], [A5 - 0x649E]
  1351. 00000D34  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1352. 00000D38  4EBA FE2E                jsr        [PC - 0x1D2 /* 00000B68 */]
  1353. 00000D3C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1354. 00000D40  3F2D 9B60                move.w     -[A7], [A5 - 0x64A0]
  1355. 00000D44  3F2D 9B5E                move.w     -[A7], [A5 - 0x64A2]
  1356. 00000D48  3F2D 9B5C                move.w     -[A7], [A5 - 0x64A4]
  1357. 00000D4C  3F2D 9B5A                move.w     -[A7], [A5 - 0x64A6]
  1358. 00000D50  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1359. 00000D54  4EBA FC9A                jsr        [PC - 0x366 /* 000009F0 */]
  1360. 00000D58  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1361. 00000D5C  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1362. 00000D60  4EBA FE80                jsr        [PC - 0x180 /* 00000BE2 */]
  1363. 00000D64  588F                     addq.l     A7, 4
  1364. 00000D66  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1365. 00000D6A  A873                     trap       SetPort
  1366. 00000D6C  7001                     moveq.l    D0, 0x01
  1367. label00000D6E:
  1368. 00000D6E  285F                     movea.l    A4, [A7]+
  1369. 00000D70  4E5E                     unlink     A6
  1370. 00000D72  4E75                     rts
  1371. 00000D74  5345                     subq.w     D5, 1
  1372. 00000D76  5455                     addq.w     [A5], 2
  1373. 00000D78  5044                     addq.w     D4, 8
  1374. 00000D7A  5749                     subq.w     A1, 3
  1375. 00000D7C  4E56 0000                link       A6, 0
  1376. 00000D80  42A7                     clr.l      -[A7]
  1377. 00000D82  42A7                     clr.l      -[A7]
  1378. 00000D84  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1379. 00000D88  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1380. 00000D8C  1F2E 0011                move.b     -[A7], [A6 + 0x11]
  1381. 00000D90  3F3C 0008                move.w     -[A7], 0x8
  1382. 00000D94  2F2E 0012                move.l     -[A7], [A6 + 0x12]
  1383. 00000D98  1F2E 0017                move.b     -[A7], [A6 + 0x17]
  1384. 00000D9C  2F2E 0018                move.l     -[A7], [A6 + 0x18]
  1385. 00000DA0  A913                     trap       NewWindow
  1386. 00000DA2  205F                     movea.l    A0, [A7]+
  1387. 00000DA4  2B48 9B76                move.l     [A5 - 0x648A], A0
  1388. 00000DA8  B0FC 0000                cmpa.w     A0, 0x0
  1389. 00000DAC  6714                     beq        +0x16 /* 00000DC2 */
  1390. 00000DAE  4EBA FEB2                jsr        [PC - 0x14E /* 00000C62 */]
  1391. 00000DB2  4A40                     tst.w      D0
  1392. 00000DB4  6706                     beq        +0x8 /* 00000DBC */
  1393. 00000DB6  202D 9B76                move.l     D0, [A5 - 0x648A]
  1394. 00000DBA  6008                     bra        +0xA /* 00000DC4 */
  1395. label00000DBC:
  1396. 00000DBC  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1397. 00000DC0  A914                     trap       DisposeWindow
  1398. label00000DC2:
  1399. 00000DC2  7000                     moveq.l    D0, 0x00
  1400. label00000DC4:
  1401. 00000DC4  4E5E                     unlink     A6
  1402. 00000DC6  4E75                     rts
  1403. 00000DC8  4E45                     trap       5
  1404. 00000DCA  5744                     subq.w     D4, 3
  1405. 00000DCC  5749                     subq.w     A1, 3
  1406. 00000DCE  4E44                     trap       4
  1407. fn00000DD0:
  1408. 00000DD0  4E56 0000                link       A6, 0
  1409. 00000DD4  42A7                     clr.l      -[A7]
  1410. 00000DD6  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1411. 00000DDA  42A7                     clr.l      -[A7]
  1412. 00000DDC  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1413. 00000DE0  A9BD                     trap       GetNewWindow
  1414. 00000DE2  205F                     movea.l    A0, [A7]+
  1415. 00000DE4  2B48 9B76                move.l     [A5 - 0x648A], A0
  1416. 00000DE8  B0FC 0000                cmpa.w     A0, 0x0
  1417. 00000DEC  6714                     beq        +0x16 /* 00000E02 */
  1418. 00000DEE  4EBA FE72                jsr        [PC - 0x18E /* 00000C62 */]
  1419. 00000DF2  4A40                     tst.w      D0
  1420. 00000DF4  6706                     beq        +0x8 /* 00000DFC */
  1421. 00000DF6  202D 9B76                move.l     D0, [A5 - 0x648A]
  1422. 00000DFA  6008                     bra        +0xA /* 00000E04 */
  1423. label00000DFC:
  1424. 00000DFC  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1425. 00000E00  A914                     trap       DisposeWindow
  1426. label00000E02:
  1427. 00000E02  7000                     moveq.l    D0, 0x00
  1428. label00000E04:
  1429. 00000E04  4E5E                     unlink     A6
  1430. 00000E06  4E75                     rts
  1431. 00000E08  4745                     chk.w      D3, D5
  1432. 00000E0A  544E                     addq.w     A6, 2
  1433. 00000E0C  4557                     chk.w      D2, [A7]
  1434. 00000E0E  4457                     neg.w      [A7]
  1435. fn00000E10:
  1436. 00000E10  4E56 FFF4                link       A6, -0x000C
  1437. 00000E14  48E7 1F08                movem.l    -[A7], D3,D4,D5,D6,D7,A4
  1438. 00000E18  4AAD 9B8E                tst.l      [A5 - 0x6472]
  1439. 00000E1C  6700 00D6                beq        +0xD8 /* 00000EF4 */
  1440. 00000E20  486E FFF4                pea.l      [A6 - 0xC]
  1441. 00000E24  A874                     trap       GetPort
  1442. 00000E26  2F2D 9B8E                move.l     -[A7], [A5 - 0x6472]
  1443. 00000E2A  A873                     trap       SetPort
  1444. 00000E2C  2F2D 9B8E                move.l     -[A7], [A5 - 0x6472]
  1445. 00000E30  4EBA F666                jsr        [PC - 0x99A /* 00000498 */]
  1446. 00000E34  588F                     addq.l     A7, 4
  1447. 00000E36  286D 9B7A                movea.l    A4, [A5 - 0x6486]
  1448. 00000E3A  2054                     movea.l    A0, [A4]
  1449. 00000E3C  3068 003C                movea.w    A0, [A0 + 0x3C]
  1450. 00000E40  D1EE 000C                add.l      A0, [A6 + 0xC]
  1451. 00000E44  B1ED 9B86                cmpa.l     A0, [A5 - 0x647A]
  1452. 00000E48  6F18                     ble        +0x1A /* 00000E62 */
  1453. 00000E4A  2F2D 9B8A                move.l     -[A7], [A5 - 0x6476]
  1454. 00000E4E  2F2D 9B76                move.l     -[A7], [A5 - 0x648A]
  1455. 00000E52  4EBA FDD0                jsr        [PC - 0x230 /* 00000C24 */]
  1456. 00000E56  508F                     addq.l     A7, 8
  1457. 00000E58  486D 9B94                pea.l      [A5 - 0x646C]
  1458. 00000E5C  4EBA 00A6                jsr        [PC + 0xA6 /* 00000F04 */]
  1459. 00000E60  588F                     addq.l     A7, 4
  1460. label00000E62:
  1461. 00000E62  2054                     movea.l    A0, [A4]
  1462. 00000E64  3628 0018                move.w     D3, [A0 + 0x18]
  1463. 00000E68  4878 7FFF                pea.l      [0x00007FFF]
  1464. 00000E6C  4878 7FFF                pea.l      [0x00007FFF]
  1465. 00000E70  2F0C                     move.l     -[A7], A4
  1466. 00000E72  A9D1                     trap       TESetSelect
  1467. 00000E74  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1468. 00000E78  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1469. 00000E7C  2F0C                     move.l     -[A7], A4
  1470. 00000E7E  A9DE                     trap       TEInsert
  1471. 00000E80  2054                     movea.l    A0, [A4]
  1472. 00000E82  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1473. 00000E86  5088                     addq.l     A0, 8
  1474. 00000E88  22D8                     move.l     [A1]+, [A0]+
  1475. 00000E8A  22D8                     move.l     [A1]+, [A0]+
  1476. 00000E8C  2054                     movea.l    A0, [A4]
  1477. 00000E8E  3E28 005E                move.w     D7, [A0 + 0x5E]
  1478. 00000E92  302E FFFC                move.w     D0, [A6 - 0x4]
  1479. 00000E96  906E FFF8                sub.w      D0, [A6 - 0x8]
  1480. 00000E9A  48C0                     ext.l      D0
  1481. 00000E9C  81C3                     divs.w     D0, D3
  1482. 00000E9E  3C00                     move.w     D6, D0
  1483. 00000EA0  4EBA F70E                jsr        [PC - 0x8F2 /* 000005B0 */]
  1484. 00000EA4  3A00                     move.w     D5, D0
  1485. 00000EA6  3005                     move.w     D0, D5
  1486. 00000EA8  D046                     add.w      D0, D6
  1487. 00000EAA  3207                     move.w     D1, D7
  1488. 00000EAC  9240                     sub.w      D1, D0
  1489. 00000EAE  3801                     move.w     D4, D1
  1490. 00000EB0  4A44                     tst.w      D4
  1491. 00000EB2  6F0E                     ble        +0x10 /* 00000EC2 */
  1492. 00000EB4  3003                     move.w     D0, D3
  1493. 00000EB6  4440                     neg.w      D0
  1494. 00000EB8  C1C4                     muls.w     D0, D4
  1495. 00000EBA  4267                     clr.w      -[A7]
  1496. 00000EBC  3F00                     move.w     -[A7], D0
  1497. 00000EBE  2F0C                     move.l     -[A7], A4
  1498. 00000EC0  A9DD                     trap       TEScroll
  1499. label00000EC2:
  1500. 00000EC2  3007                     move.w     D0, D7
  1501. 00000EC4  9046                     sub.w      D0, D6
  1502. 00000EC6  3A00                     move.w     D5, D0
  1503. 00000EC8  4A45                     tst.w      D5
  1504. 00000ECA  6D1E                     blt        +0x20 /* 00000EEA */
  1505. 00000ECC  4267                     clr.w      -[A7]
  1506. 00000ECE  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  1507. 00000ED2  A962                     trap       GetControlMaximum/GetMaxCtl
  1508. 00000ED4  301F                     move.w     D0, [A7]+
  1509. 00000ED6  B045                     cmp.w      D0, D5
  1510. 00000ED8  6710                     beq        +0x12 /* 00000EEA */
  1511. 00000EDA  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  1512. 00000EDE  3F05                     move.w     -[A7], D5
  1513. 00000EE0  A965                     trap       SetControlMaximum/SetMaxCtl
  1514. 00000EE2  2F2D 9B7E                move.l     -[A7], [A5 - 0x6482]
  1515. 00000EE6  3F05                     move.w     -[A7], D5
  1516. 00000EE8  A963                     trap       SetControlValue/SetCtlValue
  1517. label00000EEA:
  1518. 00000EEA  4EBA F6DC                jsr        [PC - 0x924 /* 000005C8 */]
  1519. 00000EEE  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1520. 00000EF2  A873                     trap       SetPort
  1521. label00000EF4:
  1522. 00000EF4  4CDF 10F8                movem.l    A4,D7,D6,D5,D4,D3, [A7]+
  1523. 00000EF8  4E5E                     unlink     A6
  1524. 00000EFA  4E75                     rts
  1525. 00000EFC  4449                     neg.w      A1
  1526. 00000EFE  5350                     subq.w     [A0], 1
  1527. 00000F00  4C41 5954                movem.l    A6,A4,A3,A0,D6,D4,D2, D1
  1528. fn00000F04:
  1529. 00000F04  4E56 0000                link       A6, 0
  1530. 00000F08  206E 0008                movea.l    A0, [A6 + 0x8]
  1531. 00000F0C  7000                     moveq.l    D0, 0x00
  1532. 00000F0E  1010                     move.b     D0, [A0]
  1533. 00000F10  2F00                     move.l     -[A7], D0
  1534. 00000F12  206E 0008                movea.l    A0, [A6 + 0x8]
  1535. 00000F16  4868 0001                pea.l      [A0 + 0x1]
  1536. 00000F1A  4EBA FEF4                jsr        [PC - 0x10C /* 00000E10 */]
  1537. 00000F1E  508F                     addq.l     A7, 8
  1538. 00000F20  4E5E                     unlink     A6
  1539. 00000F22  4E75                     rts
  1540. 00000F24  4449                     neg.w      A1
  1541. 00000F26  5350                     subq.w     [A0], 1
  1542. 00000F28  4C41 5953                movem.l    A6,A4,A3,A0,D6,D4,D1,D0, D1
  1543. fn00000F2C:
  1544. 00000F2C  4E56 FF00                link       A6, -0x0100
  1545. 00000F30  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1546. 00000F34  486E FF00                pea.l      [A6 - 0x100]
  1547. 00000F38  4EAD 0272                jsr        [A5 + 0x272]
  1548. 00000F3C  486E FF00                pea.l      [A6 - 0x100]
  1549. 00000F40  4EBA FFC2                jsr        [PC - 0x3E /* 00000F04 */]
  1550. 00000F44  588F                     addq.l     A7, 4
  1551. 00000F46  4E5E                     unlink     A6
  1552. 00000F48  4E75                     rts
  1553. 00000F4A  4449                     neg.w      A1
  1554. 00000F4C  5350                     subq.w     [A0], 1
  1555. 00000F4E  4C41 594C                movem.l    A6,A4,A3,A0,D6,D3,D2, D1
  1556. 00000F52  4E56 0000                link       A6, 0
  1557. 00000F56  306E 0008                movea.w    A0, [A6 + 0x8]
  1558. 00000F5A  2F08                     move.l     -[A7], A0
  1559. 00000F5C  4EBA FFCE                jsr        [PC - 0x32 /* 00000F2C */]
  1560. 00000F60  588F                     addq.l     A7, 4
  1561. 00000F62  4E5E                     unlink     A6
  1562. 00000F64  4E75                     rts
  1563. 00000F66  4449                     neg.w      A1
  1564. 00000F68  5350                     subq.w     [A0], 1
  1565. 00000F6A  4C41 5949                movem.l    A6,A4,A3,A0,D6,D3,D0, D1
  1566. fn00000F6E:
  1567. 00000F6E  4E56 0000                link       A6, 0
  1568. 00000F72  4878 0001                pea.l      [0x00000001]
  1569. 00000F76  486E 0009                pea.l      [A6 + 0x9]
  1570. 00000F7A  4EBA FE94                jsr        [PC - 0x16C /* 00000E10 */]
  1571. 00000F7E  508F                     addq.l     A7, 8
  1572. 00000F80  4E5E                     unlink     A6
  1573. 00000F82  4E75                     rts
  1574. 00000F84  4449                     neg.w      A1
  1575. 00000F86  5350                     subq.w     [A0], 1
  1576. 00000F88  4C41 5943                movem.l    A6,A4,A3,A0,D6,D1,D0, D1
  1577. fn00000F8C:
  1578. 00000F8C  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  1579. 00000F90  4EBA FFDC                jsr        [PC - 0x24 /* 00000F6E */]
  1580. 00000F94  548F                     addq.l     A7, 2
  1581. 00000F96  4E75                     rts
  1582. 00000F98  4E56 0000                link       A6, 0
  1583. 00000F9C  4A2E 0009                tst.b      [A6 + 0x9]
  1584. 00000FA0  6708                     beq        +0xA /* 00000FAA */
  1585. 00000FA2  41ED 9BAC                lea.l      A0, [A5 - 0x6454]
  1586. 00000FA6  2008                     move.l     D0, A0
  1587. 00000FA8  6006                     bra        +0x8 /* 00000FB0 */
  1588. label00000FAA:
  1589. 00000FAA  41ED 9BB2                lea.l      A0, [A5 - 0x644E]
  1590. 00000FAE  2008                     move.l     D0, A0
  1591. label00000FB0:
  1592. 00000FB0  2F00                     move.l     -[A7], D0
  1593. 00000FB2  4EBA FF50                jsr        [PC - 0xB0 /* 00000F04 */]
  1594. 00000FB6  588F                     addq.l     A7, 4
  1595. 00000FB8  4E5E                     unlink     A6
  1596. 00000FBA  4E75                     rts
  1597. 00000FBC  4449                     neg.w      A1
  1598. 00000FBE  5350                     subq.w     [A0], 1
  1599. 00000FC0  4C41 5942                movem.l    A6,A4,A3,A0,D6,D1, D1
  1600. fn00000FC4:
  1601. 00000FC4  4E56 0000                link       A6, 0
  1602. 00000FC8  0C6E 000A 0008           cmpi.w     [A6 + 0x8], 0xA /* '\n' */
  1603. 00000FCE  6D04                     blt        +0x6 /* 00000FD4 */
  1604. 00000FD0  7057                     moveq.l    D0, 0x57
  1605. 00000FD2  6002                     bra        +0x4 /* 00000FD6 */
  1606. label00000FD4:
  1607. 00000FD4  7030                     moveq.l    D0, 0x30
  1608. label00000FD6:
  1609. 00000FD6  D06E 0008                add.w      D0, [A6 + 0x8]
  1610. 00000FDA  4880                     ext.w      D0
  1611. 00000FDC  3F00                     move.w     -[A7], D0
  1612. 00000FDE  4EBA FF8E                jsr        [PC - 0x72 /* 00000F6E */]
  1613. 00000FE2  548F                     addq.l     A7, 2
  1614. 00000FE4  4E5E                     unlink     A6
  1615. 00000FE6  4E75                     rts
  1616. 00000FE8  4845                     swap.w     D5
  1617. 00000FEA  5842                     addq.w     D2, 4
  1618. 00000FEC  5954                     subq.w     [A4], 4
  1619. 00000FEE  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  1620. fn00000FF0:
  1621. 00000FF0  4E56 0000                link       A6, 0
  1622. 00000FF4  102E 0009                move.b     D0, [A6 + 0x9]
  1623. 00000FF8  4880                     ext.w      D0
  1624. 00000FFA  E840                     asr        D0.w, 4
  1625. 00000FFC  0240 000F                andi.w     D0, 0xF
  1626. 00001000  3F00                     move.w     -[A7], D0
  1627. 00001002  4EBA FFC0                jsr        [PC - 0x40 /* 00000FC4 */]
  1628. 00001006  548F                     addq.l     A7, 2
  1629. 00001008  102E 0009                move.b     D0, [A6 + 0x9]
  1630. 0000100C  4880                     ext.w      D0
  1631. 0000100E  0240 000F                andi.w     D0, 0xF
  1632. 00001012  3F00                     move.w     -[A7], D0
  1633. 00001014  4EBA FFAE                jsr        [PC - 0x52 /* 00000FC4 */]
  1634. 00001018  548F                     addq.l     A7, 2
  1635. 0000101A  4E5E                     unlink     A6
  1636. 0000101C  4E75                     rts
  1637. 0000101E  4449                     neg.w      A1
  1638. 00001020  5350                     subq.w     [A0], 1
  1639. 00001022  4C41 5948                movem.l    A6,A4,A3,A0,D6,D3, D1
  1640. fn00001026:
  1641. 00001026  4E56 0000                link       A6, 0
  1642. 0000102A  302E 0008                move.w     D0, [A6 + 0x8]
  1643. 0000102E  E040                     asr        D0.w, 8
  1644. 00001030  0240 00FF                andi.w     D0, 0xFF
  1645. 00001034  4880                     ext.w      D0
  1646. 00001036  3F00                     move.w     -[A7], D0
  1647. 00001038  4EBA FFB6                jsr        [PC - 0x4A /* 00000FF0 */]
  1648. 0000103C  548F                     addq.l     A7, 2
  1649. 0000103E  303C 00FF                move.w     D0, 0xFF
  1650. 00001042  C06E 0008                and.w      D0, [A6 + 0x8]
  1651. 00001046  4880                     ext.w      D0
  1652. 00001048  3F00                     move.w     -[A7], D0
  1653. 0000104A  4EBA FFA4                jsr        [PC - 0x5C /* 00000FF0 */]
  1654. 0000104E  548F                     addq.l     A7, 2
  1655. 00001050  4E5E                     unlink     A6
  1656. 00001052  4E75                     rts
  1657. 00001054  4449                     neg.w      A1
  1658. 00001056  5350                     subq.w     [A0], 1
  1659. 00001058  4C41 5948                movem.l    A6,A4,A3,A0,D6,D3, D1
  1660. 0000105C  4E56 0000                link       A6, 0
  1661. 00001060  202E 0008                move.l     D0, [A6 + 0x8]
  1662. 00001064  7210                     moveq.l    D1, 0x10
  1663. 00001066  E2A0                     asr        D0, D1
  1664. 00001068  0240 FFFF                andi.w     D0, 0xFFFF
  1665. 0000106C  3F00                     move.w     -[A7], D0
  1666. 0000106E  4EBA FFB6                jsr        [PC - 0x4A /* 00001026 */]
  1667. 00001072  548F                     addq.l     A7, 2
  1668. 00001074  303C FFFF                move.w     D0, 0xFFFF
  1669. 00001078  C06E 000A                and.w      D0, [A6 + 0xA]
  1670. 0000107C  3F00                     move.w     -[A7], D0
  1671. 0000107E  4EBA FFA6                jsr        [PC - 0x5A /* 00001026 */]
  1672. 00001082  548F                     addq.l     A7, 2
  1673. 00001084  4E5E                     unlink     A6
  1674. 00001086  4E75                     rts
  1675. 00001088  4449                     neg.w      A1
  1676. 0000108A  5350                     subq.w     [A0], 1
  1677. 0000108C  4C41 5948                movem.l    A6,A4,A3,A0,D6,D3, D1
  1678. fn00001090:
  1679. 00001090  4E56 0000                link       A6, 0
  1680. 00001094  2F0C                     move.l     -[A7], A4
  1681. 00001096  202E 0008                move.l     D0, [A6 + 0x8]
  1682. 0000109A  B0AD 9BEC                cmp.l      D0, [A5 - 0x6414]
  1683. 0000109E  6606                     bne        +0x8 /* 000010A6 */
  1684. 000010A0  202D 9BF0                move.l     D0, [A5 - 0x6410]
  1685. 000010A4  602C                     bra        +0x2E /* 000010D2 */
  1686. label000010A6:
  1687. 000010A6  286D 9BB8                movea.l    A4, [A5 - 0x6448]
  1688. 000010AA  601E                     bra        +0x20 /* 000010CA */
  1689. label000010AC:
  1690. 000010AC  2054                     movea.l    A0, [A4]
  1691. 000010AE  2010                     move.l     D0, [A0]
  1692. 000010B0  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  1693. 000010B4  660E                     bne        +0x10 /* 000010C4 */
  1694. 000010B6  2B6E 0008 9BEC           move.l     [A5 - 0x6414], [A6 + 0x8]
  1695. 000010BC  2B4C 9BF0                move.l     [A5 - 0x6410], A4
  1696. 000010C0  200C                     move.l     D0, A4
  1697. 000010C2  600E                     bra        +0x10 /* 000010D2 */
  1698. label000010C4:
  1699. 000010C4  2054                     movea.l    A0, [A4]
  1700. 000010C6  2868 002E                movea.l    A4, [A0 + 0x2E]
  1701. label000010CA:
  1702. 000010CA  B8FC 0000                cmpa.w     A4, 0x0
  1703. 000010CE  66DC                     bne        -0x22 /* 000010AC */
  1704. 000010D0  7000                     moveq.l    D0, 0x00
  1705. label000010D2:
  1706. 000010D2  285F                     movea.l    A4, [A7]+
  1707. 000010D4  4E5E                     unlink     A6
  1708. 000010D6  4E75                     rts
  1709. 000010D8  4745                     chk.w      D3, D5
  1710. 000010DA  5457                     addq.w     [A7], 2
  1711. 000010DC  4448                     neg.w      A0
  1712. 000010DE  414E                     chk.w      D0, A6
  1713. fn000010E0:
  1714. 000010E0  4E56 0000                link       A6, 0
  1715. 000010E4  2F0C                     move.l     -[A7], A4
  1716. 000010E6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1717. 000010EA  4EBA FFA4                jsr        [PC - 0x5C /* 00001090 */]
  1718. 000010EE  588F                     addq.l     A7, 4
  1719. 000010F0  2840                     movea.l    A4, D0
  1720. 000010F2  4A80                     tst.l      D0
  1721. 000010F4  6710                     beq        +0x12 /* 00001106 */
  1722. 000010F6  206E 0008                movea.l    A0, [A6 + 0x8]
  1723. 000010FA  0C68 0002 006C           cmpi.w     [A0 + 0x6C], 0x2
  1724. 00001100  6704                     beq        +0x6 /* 00001106 */
  1725. 00001102  200C                     move.l     D0, A4
  1726. 00001104  6002                     bra        +0x4 /* 00001108 */
  1727. label00001106:
  1728. 00001106  7000                     moveq.l    D0, 0x00
  1729. label00001108:
  1730. 00001108  285F                     movea.l    A4, [A7]+
  1731. 0000110A  4E5E                     unlink     A6
  1732. 0000110C  4E75                     rts
  1733. 0000110E  4745                     chk.w      D3, D5
  1734. 00001110  5457                     addq.w     [A7], 2
  1735. 00001112  4841                     swap.w     D1
  1736. 00001114  4E44                     trap       4
  1737. fn00001116:
  1738. 00001116  4E56 0000                link       A6, 0
  1739. 0000111A  2F0C                     move.l     -[A7], A4
  1740. 0000111C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1741. 00001120  4EBA FF6E                jsr        [PC - 0x92 /* 00001090 */]
  1742. 00001124  588F                     addq.l     A7, 4
  1743. 00001126  2840                     movea.l    A4, D0
  1744. 00001128  4A80                     tst.l      D0
  1745. 0000112A  6710                     beq        +0x12 /* 0000113C */
  1746. 0000112C  206E 0008                movea.l    A0, [A6 + 0x8]
  1747. 00001130  0C68 0002 006C           cmpi.w     [A0 + 0x6C], 0x2
  1748. 00001136  6604                     bne        +0x6 /* 0000113C */
  1749. 00001138  200C                     move.l     D0, A4
  1750. 0000113A  6002                     bra        +0x4 /* 0000113E */
  1751. label0000113C:
  1752. 0000113C  7000                     moveq.l    D0, 0x00
  1753. label0000113E:
  1754. 0000113E  285F                     movea.l    A4, [A7]+
  1755. 00001140  4E5E                     unlink     A6
  1756. 00001142  4E75                     rts
  1757. 00001144  4745                     chk.w      D3, D5
  1758. 00001146  5444                     addq.w     D4, 2
  1759. 00001148  4841                     swap.w     D1
  1760. 0000114A  4E44                     trap       4
  1761. fn0000114C:
  1762. 0000114C  4E56 0000                link       A6, 0
  1763. 00001150  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1764. 00001154  4267                     clr.w      -[A7]
  1765. 00001156  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1766. 0000115A  A86A                     trap       HiWord
  1767. 0000115C  301F                     move.w     D0, [A7]+
  1768. 0000115E  3E00                     move.w     D7, D0
  1769. 00001160  4267                     clr.w      -[A7]
  1770. 00001162  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1771. 00001166  A86B                     trap       LoWord
  1772. 00001168  301F                     move.w     D0, [A7]+
  1773. 0000116A  3C00                     move.w     D6, D0
  1774. 0000116C  286D 9BC6                movea.l    A4, [A5 - 0x643A]
  1775. 00001170  6020                     bra        +0x22 /* 00001192 */
  1776. label00001172:
  1777. 00001172  2054                     movea.l    A0, [A4]
  1778. 00001174  BE50                     cmp.w      D7, [A0]
  1779. 00001176  6614                     bne        +0x16 /* 0000118C */
  1780. 00001178  2054                     movea.l    A0, [A4]
  1781. 0000117A  2668 0002                movea.l    A3, [A0 + 0x2]
  1782. 0000117E  B6FC 0000                cmpa.w     A3, 0x0
  1783. 00001182  6708                     beq        +0xA /* 0000118C */
  1784. 00001184  3F06                     move.w     -[A7], D6
  1785. 00001186  4E93                     jsr        [A3]
  1786. 00001188  548F                     addq.l     A7, 2
  1787. 0000118A  600C                     bra        +0xE /* 00001198 */
  1788. label0000118C:
  1789. 0000118C  2054                     movea.l    A0, [A4]
  1790. 0000118E  2868 000A                movea.l    A4, [A0 + 0xA]
  1791. label00001192:
  1792. 00001192  B8FC 0000                cmpa.w     A4, 0x0
  1793. 00001196  66DA                     bne        -0x24 /* 00001172 */
  1794. label00001198:
  1795. 00001198  4267                     clr.w      -[A7]
  1796. 0000119A  A938                     trap       HiliteMenu
  1797. 0000119C  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  1798. 000011A0  4E5E                     unlink     A6
  1799. 000011A2  4E75                     rts
  1800. 000011A4  444F                     neg.w      A7
  1801. 000011A6  4D45                     chk.w      D6, D5
  1802. 000011A8  4E55 434F                link       A5, -0xFFFFBCB1
  1803. export_23:
  1804. 000011AC  4E56 FEF8                link       A6, -0x0108
  1805. 000011B0  4A2D 9BD6                tst.b      [A5 - 0x642A]
  1806. 000011B4  6718                     beq        +0x1A /* 000011CE */
  1807. 000011B6  0C6E 0001 0008           cmpi.w     [A6 + 0x8], 0x1
  1808. 000011BC  6610                     bne        +0x12 /* 000011CE */
  1809. 000011BE  4AAD 9BD2                tst.l      [A5 - 0x642E]
  1810. 000011C2  6700 0068                beq        +0x6A /* 0000122C */
  1811. 000011C6  206D 9BD2                movea.l    A0, [A5 - 0x642E]
  1812. 000011CA  4E90                     jsr        [A0]
  1813. 000011CC  605E                     bra        +0x60 /* 0000122C */
  1814. label000011CE:
  1815. 000011CE  486E FFFC                pea.l      [A6 - 0x4]
  1816. 000011D2  A874                     trap       GetPort
  1817. 000011D4  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  1818. 000011D8  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1819. 000011DC  486E FEFC                pea.l      [A6 - 0x104]
  1820. 000011E0  A946                     trap       GetMenuItemText/GetItem
  1821. 000011E2  4267                     clr.w      -[A7]
  1822. 000011E4  A99B                     trap       SetResLoad
  1823. 000011E6  42A7                     clr.l      -[A7]
  1824. 000011E8  4879 4452 5652           pea.l      [0x44525652]
  1825. 000011EE  486E FEFC                pea.l      [A6 - 0x104]
  1826. 000011F2  A9A1                     trap       GetNamedResource
  1827. 000011F4  205F                     movea.l    A0, [A7]+
  1828. 000011F6  2D48 FEF8                move.l     [A6 - 0x108], A0
  1829. 000011FA  1F3C 0001                move.b     -[A7], 0x1
  1830. 000011FE  A99B                     trap       SetResLoad
  1831. 00001200  4AAE FEF8                tst.l      [A6 - 0x108]
  1832. 00001204  6720                     beq        +0x22 /* 00001226 */
  1833. 00001206  42A7                     clr.l      -[A7]
  1834. 00001208  2F2E FEF8                move.l     -[A7], [A6 - 0x108]
  1835. 0000120C  A9A5                     trap       SizeRsrc
  1836. 0000120E  201F                     move.l     D0, [A7]+
  1837. 00001210  0680 0000 1000           addi.l     D0, 0x1000
  1838. 00001216  2F00                     move.l     -[A7], D0
  1839. 00001218  4EAD 01C2                jsr        [A5 + 0x1C2]
  1840. 0000121C  4267                     clr.w      -[A7]
  1841. 0000121E  486E FEFC                pea.l      [A6 - 0x104]
  1842. 00001222  A9B6                     trap       OpenDeskAcc
  1843. 00001224  301F                     move.w     D0, [A7]+
  1844. label00001226:
  1845. 00001226  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1846. 0000122A  A873                     trap       SetPort
  1847. label0000122C:
  1848. 0000122C  4E5E                     unlink     A6
  1849. 0000122E  4E75                     rts
  1850. 00001230  444F                     neg.w      A7
  1851. 00001232  4150                     chk.w      D0, [A0]
  1852. 00001234  504C                     addq.w     A4, 8
  1853. 00001236  4549                     chk.w      D2, A1
  1854. export_22:
  1855. 00001238  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  1856. 0000123C  A932                     trap       DisposeMenu
  1857. 0000123E  4E75                     rts
  1858. fn00001240:
  1859. 00001240  4E56 FFFC                link       A6, -0x0004
  1860. 00001244  2F0C                     move.l     -[A7], A4
  1861. 00001246  4AAE 0008                tst.l      [A6 + 0x8]
  1862. 0000124A  673A                     beq        +0x3C /* 00001286 */
  1863. 0000124C  206E 0008                movea.l    A0, [A6 + 0x8]
  1864. 00001250  2050                     movea.l    A0, [A0]
  1865. 00001252  2868 0008                movea.l    A4, [A0 + 0x8]
  1866. 00001256  B8FC 0000                cmpa.w     A4, 0x0
  1867. 0000125A  672A                     beq        +0x2C /* 00001286 */
  1868. 0000125C  206E 000C                movea.l    A0, [A6 + 0xC]
  1869. 00001260  2D68 000A FFFC           move.l     [A6 - 0x4], [A0 + 0xA]
  1870. 00001266  486E FFFC                pea.l      [A6 - 0x4]
  1871. 0000126A  A871                     trap       GlobalToLocal
  1872. 0000126C  206E 000C                movea.l    A0, [A6 + 0xC]
  1873. 00001270  3F28 000E                move.w     -[A7], [A0 + 0xE]
  1874. 00001274  206E 000C                movea.l    A0, [A6 + 0xC]
  1875. 00001278  2F28 0006                move.l     -[A7], [A0 + 0x6]
  1876. 0000127C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1877. 00001280  4E94                     jsr        [A4]
  1878. 00001282  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1879. label00001286:
  1880. 00001286  285F                     movea.l    A4, [A7]+
  1881. 00001288  4E5E                     unlink     A6
  1882. 0000128A  4E75                     rts
  1883. 0000128C  444F                     neg.w      A7
  1884. 0000128E  4D4F                     chk.w      D6, A7
  1885. 00001290  5553                     subq.w     [A3], 2
  1886. 00001292  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  1887. fn00001294:
  1888. 00001294  4E56 0000                link       A6, 0
  1889. 00001298  2F0C                     move.l     -[A7], A4
  1890. 0000129A  4AAE 0008                tst.l      [A6 + 0x8]
  1891. 0000129E  6720                     beq        +0x22 /* 000012C0 */
  1892. 000012A0  206E 0008                movea.l    A0, [A6 + 0x8]
  1893. 000012A4  2050                     movea.l    A0, [A0]
  1894. 000012A6  2868 000C                movea.l    A4, [A0 + 0xC]
  1895. 000012AA  B8FC 0000                cmpa.w     A4, 0x0
  1896. 000012AE  6710                     beq        +0x12 /* 000012C0 */
  1897. 000012B0  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  1898. 000012B4  102E 000D                move.b     D0, [A6 + 0xD]
  1899. 000012B8  4880                     ext.w      D0
  1900. 000012BA  3F00                     move.w     -[A7], D0
  1901. 000012BC  4E94                     jsr        [A4]
  1902. 000012BE  588F                     addq.l     A7, 4
  1903. label000012C0:
  1904. 000012C0  285F                     movea.l    A4, [A7]+
  1905. 000012C2  4E5E                     unlink     A6
  1906. 000012C4  4E75                     rts
  1907. 000012C6  444F                     neg.w      A7
  1908. 000012C8  4B45                     chk.w      D5, D5
  1909. 000012CA  5920                     subq.b     -[A0], 4
  1910. 000012CC  2020                     move.l     D0, -[A0]
  1911. fn000012CE:
  1912. 000012CE  4E56 FFFC                link       A6, -0x0004
  1913. 000012D2  48E7 0038                movem.l    -[A7], A2,A3,A4
  1914. 000012D6  286E 0008                movea.l    A4, [A6 + 0x8]
  1915. 000012DA  B8FC 0000                cmpa.w     A4, 0x0
  1916. 000012DE  673C                     beq        +0x3E /* 0000131C */
  1917. 000012E0  486E FFFC                pea.l      [A6 - 0x4]
  1918. 000012E4  A874                     trap       GetPort
  1919. 000012E6  2054                     movea.l    A0, [A4]
  1920. 000012E8  2450                     movea.l    A2, [A0]
  1921. 000012EA  2F0A                     move.l     -[A7], A2
  1922. 000012EC  A873                     trap       SetPort
  1923. 000012EE  2F0A                     move.l     -[A7], A2
  1924. 000012F0  A922                     trap       BeginUpdate
  1925. 000012F2  2054                     movea.l    A0, [A4]
  1926. 000012F4  2668 0010                movea.l    A3, [A0 + 0x10]
  1927. 000012F8  B6FC 0000                cmpa.w     A3, 0x0
  1928. 000012FC  6714                     beq        +0x16 /* 00001312 */
  1929. 000012FE  2054                     movea.l    A0, [A4]
  1930. 00001300  1028 002C                move.b     D0, [A0 + 0x2C]
  1931. 00001304  4880                     ext.w      D0
  1932. 00001306  3F00                     move.w     -[A7], D0
  1933. 00001308  4E93                     jsr        [A3]
  1934. 0000130A  548F                     addq.l     A7, 2
  1935. 0000130C  2054                     movea.l    A0, [A4]
  1936. 0000130E  4228 002C                clr.b      [A0 + 0x2C]
  1937. label00001312:
  1938. 00001312  2F0A                     move.l     -[A7], A2
  1939. 00001314  A923                     trap       EndUpdate
  1940. 00001316  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1941. 0000131A  A873                     trap       SetPort
  1942. label0000131C:
  1943. 0000131C  4CDF 1C00                movem.l    A4,A3,A2, [A7]+
  1944. 00001320  4E5E                     unlink     A6
  1945. 00001322  4E75                     rts
  1946. 00001324  444F                     neg.w      A7
  1947. 00001326  5550                     subq.w     [A0], 2
  1948. 00001328  4441                     neg.w      D1
  1949. 0000132A  5445                     addq.w     D5, 2
  1950. fn0000132C:
  1951. 0000132C  4E56 0000                link       A6, 0
  1952. 00001330  2F0C                     move.l     -[A7], A4
  1953. 00001332  4AAE 0008                tst.l      [A6 + 0x8]
  1954. 00001336  6726                     beq        +0x28 /* 0000135E */
  1955. 00001338  206E 0008                movea.l    A0, [A6 + 0x8]
  1956. 0000133C  2050                     movea.l    A0, [A0]
  1957. 0000133E  2F10                     move.l     -[A7], [A0]
  1958. 00001340  A873                     trap       SetPort
  1959. 00001342  206E 0008                movea.l    A0, [A6 + 0x8]
  1960. 00001346  2050                     movea.l    A0, [A0]
  1961. 00001348  2868 0014                movea.l    A4, [A0 + 0x14]
  1962. 0000134C  B8FC 0000                cmpa.w     A4, 0x0
  1963. 00001350  670C                     beq        +0xE /* 0000135E */
  1964. 00001352  102E 000D                move.b     D0, [A6 + 0xD]
  1965. 00001356  4880                     ext.w      D0
  1966. 00001358  3F00                     move.w     -[A7], D0
  1967. 0000135A  4E94                     jsr        [A4]
  1968. 0000135C  548F                     addq.l     A7, 2
  1969. label0000135E:
  1970. 0000135E  285F                     movea.l    A4, [A7]+
  1971. 00001360  4E5E                     unlink     A6
  1972. 00001362  4E75                     rts
  1973. 00001364  444F                     neg.w      A7
  1974. 00001366  4143                     chk.w      D0, D3
  1975. 00001368  5449                     addq.w     A1, 2
  1976. 0000136A  5641                     addq.w     D1, 3
  1977. fn0000136C:
  1978. 0000136C  4E56 0000                link       A6, 0
  1979. 00001370  48E7 0018                movem.l    -[A7], A3,A4
  1980. 00001374  286E 0008                movea.l    A4, [A6 + 0x8]
  1981. 00001378  B8FC 0000                cmpa.w     A4, 0x0
  1982. 0000137C  6716                     beq        +0x18 /* 00001394 */
  1983. 0000137E  2054                     movea.l    A0, [A4]
  1984. 00001380  2668 0018                movea.l    A3, [A0 + 0x18]
  1985. 00001384  B6FC 0000                cmpa.w     A3, 0x0
  1986. 00001388  6704                     beq        +0x6 /* 0000138E */
  1987. 0000138A  4E93                     jsr        [A3]
  1988. 0000138C  6006                     bra        +0x8 /* 00001394 */
  1989. label0000138E:
  1990. 0000138E  2054                     movea.l    A0, [A4]
  1991. 00001390  2F10                     move.l     -[A7], [A0]
  1992. 00001392  A916                     trap       HideWindow
  1993. label00001394:
  1994. 00001394  4CDF 1800                movem.l    A4,A3, [A7]+
  1995. 00001398  4E5E                     unlink     A6
  1996. 0000139A  4E75                     rts
  1997. 0000139C  444F                     neg.w      A7
  1998. 0000139E  434C                     chk.w      D1, A4
  1999. 000013A0  4F53                     chk.w      D7, [A3]
  2000. 000013A2  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  2001. fn000013A4:
  2002. 000013A4  4E56 FFFC                link       A6, -0x0004
  2003. 000013A8  2F0C                     move.l     -[A7], A4
  2004. 000013AA  486E FFFC                pea.l      [A6 - 0x4]
  2005. 000013AE  A874                     trap       GetPort
  2006. 000013B0  206E 0008                movea.l    A0, [A6 + 0x8]
  2007. 000013B4  2050                     movea.l    A0, [A0]
  2008. 000013B6  2F10                     move.l     -[A7], [A0]
  2009. 000013B8  A873                     trap       SetPort
  2010. 000013BA  206E 0008                movea.l    A0, [A6 + 0x8]
  2011. 000013BE  2050                     movea.l    A0, [A0]
  2012. 000013C0  2868 0004                movea.l    A4, [A0 + 0x4]
  2013. 000013C4  B8FC 0000                cmpa.w     A4, 0x0
  2014. 000013C8  6702                     beq        +0x4 /* 000013CC */
  2015. 000013CA  4E94                     jsr        [A4]
  2016. label000013CC:
  2017. 000013CC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2018. 000013D0  A873                     trap       SetPort
  2019. 000013D2  285F                     movea.l    A4, [A7]+
  2020. 000013D4  4E5E                     unlink     A6
  2021. 000013D6  4E75                     rts
  2022. 000013D8  444F                     neg.w      A7
  2023. 000013DA  434C                     chk.w      D1, A4
  2024. 000013DC  4F42                     chk.w      D7, D2
  2025. 000013DE  4245                     clr.w      D5
  2026. fn000013E0:
  2027. 000013E0  4E56 FFF2                link       A6, -0x000E
  2028. 000013E4  48E7 0118                movem.l    -[A7], D7,A3,A4
  2029. 000013E8  286E 0008                movea.l    A4, [A6 + 0x8]
  2030. 000013EC  3E14                     move.w     D7, [A4]
  2031. 000013EE  0C47 0003                cmpi.w     D7, 0x3
  2032. 000013F2  6706                     beq        +0x8 /* 000013FA */
  2033. 000013F4  0C47 0005                cmpi.w     D7, 0x5
  2034. 000013F8  6628                     bne        +0x2A /* 00001422 */
  2035. label000013FA:
  2036. 000013FA  082C 0000 000E           btst.b     [A4 + 0xE], 0x0
  2037. 00001400  6720                     beq        +0x22 /* 00001422 */
  2038. 00001402  203C 0000 00FF           move.l     D0, 0xFF
  2039. 00001408  C0AC 0002                and.l      D0, [A4 + 0x2]
  2040. 0000140C  42A7                     clr.l      -[A7]
  2041. 0000140E  3F00                     move.w     -[A7], D0
  2042. 00001410  A93E                     trap       MenuKey
  2043. 00001412  201F                     move.l     D0, [A7]+
  2044. 00001414  2F00                     move.l     -[A7], D0
  2045. 00001416  4EBA FD34                jsr        [PC - 0x2CC /* 0000114C */]
  2046. 0000141A  588F                     addq.l     A7, 4
  2047. 0000141C  7001                     moveq.l    D0, 0x01
  2048. 0000141E  6000 0086                bra        +0x88 /* 000014A6 */
  2049. label00001422:
  2050. 00001422  7001                     moveq.l    D0, 0x01
  2051. 00001424  EF68                     lsl        D0.w, D7
  2052. 00001426  C06D 9BF4                and.w      D0, [A5 - 0x640C]
  2053. 0000142A  4A40                     tst.w      D0
  2054. 0000142C  6700 0076                beq        +0x78 /* 000014A4 */
  2055. 00001430  4267                     clr.w      -[A7]
  2056. 00001432  2F0C                     move.l     -[A7], A4
  2057. 00001434  A97F                     trap       IsDialogEvent
  2058. 00001436  101F                     move.b     D0, [A7]+
  2059. 00001438  4A00                     tst.b      D0
  2060. 0000143A  6700 0068                beq        +0x6A /* 000014A4 */
  2061. 0000143E  0C54 0008                cmpi.w     [A4], 0x8
  2062. 00001442  6620                     bne        +0x22 /* 00001464 */
  2063. 00001444  082C 0000 000F           btst.b     [A4 + 0xF], 0x0
  2064. 0000144A  6718                     beq        +0x1A /* 00001464 */
  2065. 0000144C  202C 0002                move.l     D0, [A4 + 0x2]
  2066. 00001450  2D40 FFF2                move.l     [A6 - 0xE], D0
  2067. 00001454  2040                     movea.l    A0, D0
  2068. 00001456  0C68 0002 006C           cmpi.w     [A0 + 0x6C], 0x2
  2069. 0000145C  6606                     bne        +0x8 /* 00001464 */
  2070. 0000145E  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  2071. 00001462  A873                     trap       SetPort
  2072. label00001464:
  2073. 00001464  4267                     clr.w      -[A7]
  2074. 00001466  2F0C                     move.l     -[A7], A4
  2075. 00001468  486E FFFC                pea.l      [A6 - 0x4]
  2076. 0000146C  486E FFFA                pea.l      [A6 - 0x6]
  2077. 00001470  A980                     trap       DialogSelect
  2078. 00001472  101F                     move.b     D0, [A7]+
  2079. 00001474  4A00                     tst.b      D0
  2080. 00001476  6728                     beq        +0x2A /* 000014A0 */
  2081. 00001478  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2082. 0000147C  4EBA FC98                jsr        [PC - 0x368 /* 00001116 */]
  2083. 00001480  588F                     addq.l     A7, 4
  2084. 00001482  2640                     movea.l    A3, D0
  2085. 00001484  4A80                     tst.l      D0
  2086. 00001486  6718                     beq        +0x1A /* 000014A0 */
  2087. 00001488  2053                     movea.l    A0, [A3]
  2088. 0000148A  4AA8 0020                tst.l      [A0 + 0x20]
  2089. 0000148E  6710                     beq        +0x12 /* 000014A0 */
  2090. 00001490  2053                     movea.l    A0, [A3]
  2091. 00001492  2F0C                     move.l     -[A7], A4
  2092. 00001494  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  2093. 00001498  2068 0020                movea.l    A0, [A0 + 0x20]
  2094. 0000149C  4E90                     jsr        [A0]
  2095. 0000149E  5C8F                     addq.l     A7, 6
  2096. label000014A0:
  2097. 000014A0  7001                     moveq.l    D0, 0x01
  2098. 000014A2  6002                     bra        +0x4 /* 000014A6 */
  2099. label000014A4:
  2100. 000014A4  7000                     moveq.l    D0, 0x00
  2101. label000014A6:
  2102. 000014A6  4CDF 1880                movem.l    A4,A3,D7, [A7]+
  2103. 000014AA  4E5E                     unlink     A6
  2104. 000014AC  4E75                     rts
  2105. 000014AE  444F                     neg.w      A7
  2106. 000014B0  4449                     neg.w      A1
  2107. 000014B2  414C                     chk.w      D0, A4
  2108. 000014B4  4F47                     chk.w      D7, D7
  2109. fn000014B6:
  2110. 000014B6  4E56 0000                link       A6, 0
  2111. 000014BA  206E 000C                movea.l    A0, [A6 + 0xC]
  2112. 000014BE  4868 0010                pea.l      [A0 + 0x10]
  2113. 000014C2  A928                     trap       InvalRect
  2114. 000014C4  4AAE 0008                tst.l      [A6 + 0x8]
  2115. 000014C8  670C                     beq        +0xE /* 000014D6 */
  2116. 000014CA  206E 0008                movea.l    A0, [A6 + 0x8]
  2117. 000014CE  2050                     movea.l    A0, [A0]
  2118. 000014D0  7001                     moveq.l    D0, 0x01
  2119. 000014D2  1140 002C                move.b     [A0 + 0x2C], D0
  2120. label000014D6:
  2121. 000014D6  4E5E                     unlink     A6
  2122. 000014D8  4E75                     rts
  2123. 000014DA  5452                     addq.w     [A2], 2
  2124. 000014DC  4947                     chk.w      D4, D7
  2125. 000014DE  4745                     chk.w      D3, D5
  2126. 000014E0  5255                     addq.w     [A5], 1
  2127. fn000014E2:
  2128. 000014E2  4E56 FFF6                link       A6, -0x000A
  2129. 000014E6  2F07                     move.l     -[A7], D7
  2130. 000014E8  4AAE 0008                tst.l      [A6 + 0x8]
  2131. 000014EC  6714                     beq        +0x16 /* 00001502 */
  2132. 000014EE  206E 0008                movea.l    A0, [A6 + 0x8]
  2133. 000014F2  2050                     movea.l    A0, [A0]
  2134. 000014F4  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2135. 000014F8  41E8 0024                lea.l      A0, [A0 + 0x24]
  2136. 000014FC  22D8                     move.l     [A1]+, [A0]+
  2137. 000014FE  22D8                     move.l     [A1]+, [A0]+
  2138. 00001500  600C                     bra        +0xE /* 0000150E */
  2139. label00001502:
  2140. 00001502  41EE FFF8                lea.l      A0, [A6 - 0x8]
  2141. 00001506  43ED 9BBE                lea.l      A1, [A5 - 0x6442]
  2142. 0000150A  20D9                     move.l     [A0]+, [A1]+
  2143. 0000150C  20D9                     move.l     [A0]+, [A1]+
  2144. label0000150E:
  2145. 0000150E  42A7                     clr.l      -[A7]
  2146. 00001510  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2147. 00001514  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2148. 00001518  486E FFF8                pea.l      [A6 - 0x8]
  2149. 0000151C  A92B                     trap       GrowWindow
  2150. 0000151E  201F                     move.l     D0, [A7]+
  2151. 00001520  2E00                     move.l     D7, D0
  2152. 00001522  4A80                     tst.l      D0
  2153. 00001524  6730                     beq        +0x32 /* 00001556 */
  2154. 00001526  4267                     clr.w      -[A7]
  2155. 00001528  2F07                     move.l     -[A7], D7
  2156. 0000152A  A86B                     trap       LoWord
  2157. 0000152C  301F                     move.w     D0, [A7]+
  2158. 0000152E  4267                     clr.w      -[A7]
  2159. 00001530  2F07                     move.l     -[A7], D7
  2160. 00001532  3D40 FFF6                move.w     [A6 - 0xA], D0
  2161. 00001536  A86A                     trap       HiWord
  2162. 00001538  301F                     move.w     D0, [A7]+
  2163. 0000153A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2164. 0000153E  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  2165. 00001542  3F00                     move.w     -[A7], D0
  2166. 00001544  4267                     clr.w      -[A7]
  2167. 00001546  A91D                     trap       SizeWindow
  2168. 00001548  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2169. 0000154C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2170. 00001550  4EBA FF64                jsr        [PC - 0x9C /* 000014B6 */]
  2171. 00001554  508F                     addq.l     A7, 8
  2172. label00001556:
  2173. 00001556  2E1F                     move.l     D7, [A7]+
  2174. 00001558  4E5E                     unlink     A6
  2175. 0000155A  4E75                     rts
  2176. 0000155C  444F                     neg.w      A7
  2177. 0000155E  4752                     chk.w      D3, [A2]
  2178. 00001560  4F57                     chk.w      D7, [A7]
  2179. 00001562  2020                     move.l     D0, -[A0]
  2180. fn00001564:
  2181. 00001564  4E56 0000                link       A6, 0
  2182. 00001568  2F0C                     move.l     -[A7], A4
  2183. 0000156A  286E 0008                movea.l    A4, [A6 + 0x8]
  2184. 0000156E  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2185. 00001572  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  2186. 00001576  4267                     clr.w      -[A7]
  2187. 00001578  A83A                     trap       ZoomWindow
  2188. 0000157A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2189. 0000157E  2F0C                     move.l     -[A7], A4
  2190. 00001580  4EBA FF34                jsr        [PC - 0xCC /* 000014B6 */]
  2191. 00001584  508F                     addq.l     A7, 8
  2192. 00001586  285F                     movea.l    A4, [A7]+
  2193. 00001588  4E5E                     unlink     A6
  2194. 0000158A  4E75                     rts
  2195. 0000158C  444F                     neg.w      A7
  2196. 0000158E  5A4F                     addq.w     A7, 5
  2197. 00001590  4F4D                     chk.w      D7, A5
  2198. 00001592  2020                     move.l     D0, -[A0]
  2199. fn00001594:
  2200. 00001594  4E56 FFF0                link       A6, -0x0010
  2201. 00001598  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  2202. 0000159C  286E 0008                movea.l    A4, [A6 + 0x8]
  2203. 000015A0  2F0C                     move.l     -[A7], A4
  2204. 000015A2  4EBA FE3C                jsr        [PC - 0x1C4 /* 000013E0 */]
  2205. 000015A6  588F                     addq.l     A7, 4
  2206. 000015A8  4A40                     tst.w      D0
  2207. 000015AA  6600 01DA                bne        +0x1DC /* 00001786 */
  2208. 000015AE  2D6C 000A FFFC           move.l     [A6 - 0x4], [A4 + 0xA]
  2209. 000015B4  3A2C 000E                move.w     D5, [A4 + 0xE]
  2210. 000015B8  282C 0002                move.l     D4, [A4 + 0x2]
  2211. 000015BC  3014                     move.w     D0, [A4]
  2212. 000015BE  4EAD 003A                jsr        [A5 + 0x3A]
  2213. 000015C2  0001 0008                ori.b      D1, 0x8
  2214. 000015C6  01C0                     bset       D0, D0
  2215. 000015C8  0010 01BC                ori.b      [A0], 0xBC
  2216. 000015CC  013C 01B8                btst       0xB8, D0
  2217. 000015D0  0138 0160                btst       [0x00000160 /* VBLQueue */], D0
  2218. 000015D4  0190                     bclr       [A0], D0
  2219. 000015D6  016E 4267                bchg       [A6 + 0x4267], D0
  2220. 000015DA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2221. 000015DE  486E FFF8                pea.l      [A6 - 0x8]
  2222. 000015E2  A92C                     trap       FindWindow
  2223. 000015E4  301F                     move.w     D0, [A7]+
  2224. 000015E6  3E00                     move.w     D7, D0
  2225. 000015E8  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2226. 000015EC  4EBA FAA2                jsr        [PC - 0x55E /* 00001090 */]
  2227. 000015F0  588F                     addq.l     A7, 4
  2228. 000015F2  2640                     movea.l    A3, D0
  2229. 000015F4  3007                     move.w     D0, D7
  2230. 000015F6  4EAD 003A                jsr        [A5 + 0x3A]
  2231. 000015FA  0001 0008                ori.b      D1, 0x8
  2232. 000015FE  0188                     bclr       A0, D0
  2233. 00001600  001C 000E                ori.b      [A4]+, 0xE
  2234. 00001604  00E0                     ori.?      -[A0], 0xFFFFFFFFFFFFFFFF
  2235. 00001606  0042 002A                ori.w      D2, 0x2A /* '*' */
  2236. 0000160A  0090 00AE 00AC           ori.l      [A0], 0xAE00AC
  2237. 00001610  2F0C                     move.l     -[A7], A4
  2238. 00001612  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2239. 00001616  A9B3                     trap       SystemClick
  2240. 00001618  6000 016C                bra        +0x16E /* 00001786 */
  2241. 0000161C  42A7                     clr.l      -[A7]
  2242. 0000161E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2243. 00001622  A93D                     trap       MenuSelect
  2244. 00001624  201F                     move.l     D0, [A7]+
  2245. 00001626  2F00                     move.l     -[A7], D0
  2246. 00001628  4EBA FB22                jsr        [PC - 0x4DE /* 0000114C */]
  2247. 0000162C  588F                     addq.l     A7, 4
  2248. 0000162E  6000 0156                bra        +0x158 /* 00001786 */
  2249. 00001632  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2250. 00001636  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2251. 0000163A  2F0B                     move.l     -[A7], A3
  2252. 0000163C  4EBA FEA4                jsr        [PC - 0x15C /* 000014E2 */]
  2253. 00001640  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2254. 00001644  6000 0140                bra        +0x142 /* 00001786 */
  2255. 00001648  42A7                     clr.l      -[A7]
  2256. 0000164A  A924                     trap       FrontWindow
  2257. 0000164C  205F                     movea.l    A0, [A7]+
  2258. 0000164E  B1EE FFF8                cmpa.l     A0, [A6 - 0x8]
  2259. 00001652  6710                     beq        +0x12 /* 00001664 */
  2260. 00001654  303C 0100                move.w     D0, 0x100
  2261. 00001658  C045                     and.w      D0, D5
  2262. 0000165A  4A40                     tst.w      D0
  2263. 0000165C  6606                     bne        +0x8 /* 00001664 */
  2264. 0000165E  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2265. 00001662  A91F                     trap       SelectWindow
  2266. label00001664:
  2267. 00001664  206D 9BD8                movea.l    A0, [A5 - 0x6428]
  2268. 00001668  43EE FFF0                lea.l      A1, [A6 - 0x10]
  2269. 0000166C  41E8 0010                lea.l      A0, [A0 + 0x10]
  2270. 00001670  22D8                     move.l     [A1]+, [A0]+
  2271. 00001672  22D8                     move.l     [A1]+, [A0]+
  2272. 00001674  066E 0014 FFF0           addi.w     [A6 - 0x10], 0x14
  2273. 0000167A  486E FFF0                pea.l      [A6 - 0x10]
  2274. 0000167E  3F3C 0004                move.w     -[A7], 0x4
  2275. 00001682  3F3C 0004                move.w     -[A7], 0x4
  2276. 00001686  A8A9                     trap       InsetRect
  2277. 00001688  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2278. 0000168C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2279. 00001690  486E FFF0                pea.l      [A6 - 0x10]
  2280. 00001694  A925                     trap       DragWindow
  2281. 00001696  6000 00EE                bra        +0xF0 /* 00001786 */
  2282. 0000169A  4267                     clr.w      -[A7]
  2283. 0000169C  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2284. 000016A0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2285. 000016A4  A91E                     trap       TrackGoAway
  2286. 000016A6  101F                     move.b     D0, [A7]+
  2287. 000016A8  4A00                     tst.b      D0
  2288. 000016AA  6700 00DA                beq        +0xDC /* 00001786 */
  2289. 000016AE  2F0B                     move.l     -[A7], A3
  2290. 000016B0  4EBA FCBA                jsr        [PC - 0x346 /* 0000136C */]
  2291. 000016B4  588F                     addq.l     A7, 4
  2292. 000016B6  6000 00CE                bra        +0xD0 /* 00001786 */
  2293. 000016BA  4267                     clr.w      -[A7]
  2294. 000016BC  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2295. 000016C0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2296. 000016C4  3F07                     move.w     -[A7], D7
  2297. 000016C6  A83B                     trap       TrackBox
  2298. 000016C8  101F                     move.b     D0, [A7]+
  2299. 000016CA  4A00                     tst.b      D0
  2300. 000016CC  6700 00B8                beq        +0xBA /* 00001786 */
  2301. 000016D0  3F07                     move.w     -[A7], D7
  2302. 000016D2  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2303. 000016D6  2F0B                     move.l     -[A7], A3
  2304. 000016D8  4EBA FE8A                jsr        [PC - 0x176 /* 00001564 */]
  2305. 000016DC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2306. 000016E0  6000 00A4                bra        +0xA6 /* 00001786 */
  2307. 000016E4  42A7                     clr.l      -[A7]
  2308. 000016E6  A924                     trap       FrontWindow
  2309. 000016E8  205F                     movea.l    A0, [A7]+
  2310. 000016EA  B1EE FFF8                cmpa.l     A0, [A6 - 0x8]
  2311. 000016EE  670A                     beq        +0xC /* 000016FA */
  2312. 000016F0  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2313. 000016F4  A91F                     trap       SelectWindow
  2314. 000016F6  6000 008E                bra        +0x90 /* 00001786 */
  2315. label000016FA:
  2316. 000016FA  2F0C                     move.l     -[A7], A4
  2317. 000016FC  2F0B                     move.l     -[A7], A3
  2318. 000016FE  4EBA FB40                jsr        [PC - 0x4C0 /* 00001240 */]
  2319. 00001702  508F                     addq.l     A7, 8
  2320. 00001704  6000 0080                bra        +0x82 /* 00001786 */
  2321. 00001708  203C 0000 00FF           move.l     D0, 0xFF
  2322. 0000170E  C084                     and.l      D0, D4
  2323. 00001710  1C00                     move.b     D6, D0
  2324. 00001712  42A7                     clr.l      -[A7]
  2325. 00001714  A924                     trap       FrontWindow
  2326. 00001716  205F                     movea.l    A0, [A7]+
  2327. 00001718  4850                     pea.l      [A0]
  2328. 0000171A  4EBA F9C4                jsr        [PC - 0x63C /* 000010E0 */]
  2329. 0000171E  588F                     addq.l     A7, 4
  2330. 00001720  3F05                     move.w     -[A7], D5
  2331. 00001722  1206                     move.b     D1, D6
  2332. 00001724  4881                     ext.w      D1
  2333. 00001726  3F01                     move.w     -[A7], D1
  2334. 00001728  2F00                     move.l     -[A7], D0
  2335. 0000172A  4EBA FB68                jsr        [PC - 0x498 /* 00001294 */]
  2336. 0000172E  508F                     addq.l     A7, 8
  2337. 00001730  6054                     bra        +0x56 /* 00001786 */
  2338. 00001732  2F04                     move.l     -[A7], D4
  2339. 00001734  4EBA F9AA                jsr        [PC - 0x656 /* 000010E0 */]
  2340. 00001738  588F                     addq.l     A7, 4
  2341. 0000173A  2F00                     move.l     -[A7], D0
  2342. 0000173C  4EBA FB90                jsr        [PC - 0x470 /* 000012CE */]
  2343. 00001740  588F                     addq.l     A7, 4
  2344. 00001742  6042                     bra        +0x44 /* 00001786 */
  2345. 00001744  2F04                     move.l     -[A7], D4
  2346. 00001746  4EBA F998                jsr        [PC - 0x668 /* 000010E0 */]
  2347. 0000174A  588F                     addq.l     A7, 4
  2348. 0000174C  7201                     moveq.l    D1, 0x01
  2349. 0000174E  C245                     and.w      D1, D5
  2350. 00001750  4A41                     tst.w      D1
  2351. 00001752  56C1                     sne        D1
  2352. 00001754  4401                     neg.b      D1
  2353. 00001756  4881                     ext.w      D1
  2354. 00001758  3F01                     move.w     -[A7], D1
  2355. 0000175A  2F00                     move.l     -[A7], D0
  2356. 0000175C  4EBA FBCE                jsr        [PC - 0x432 /* 0000132C */]
  2357. 00001760  5C8F                     addq.l     A7, 6
  2358. 00001762  6022                     bra        +0x24 /* 00001786 */
  2359. 00001764  4267                     clr.w      -[A7]
  2360. 00001766  2F04                     move.l     -[A7], D4
  2361. 00001768  A86A                     trap       HiWord
  2362. 0000176A  301F                     move.w     D0, [A7]+
  2363. 0000176C  4A40                     tst.w      D0
  2364. 0000176E  6716                     beq        +0x18 /* 00001786 */
  2365. 00001770  4EAD 029A                jsr        [A5 + 0x29A]
  2366. 00001774  4267                     clr.w      -[A7]
  2367. 00001776  2F2D 9BE8                move.l     -[A7], [A5 - 0x6418]
  2368. 0000177A  2F04                     move.l     -[A7], D4
  2369. 0000177C  4EAD 02A2                jsr        [A5 + 0x2A2]
  2370. 00001780  301F                     move.w     D0, [A7]+
  2371. 00001782  4EAD 0292                jsr        [A5 + 0x292]
  2372. label00001786:
  2373. 00001786  4CDF 18F0                movem.l    A4,A3,D7,D6,D5,D4, [A7]+
  2374. 0000178A  4E5E                     unlink     A6
  2375. 0000178C  4E75                     rts
  2376. 0000178E  444F                     neg.w      A7
  2377. 00001790  4556                     chk.w      D2, [A6]
  2378. 00001792  454E                     chk.w      D2, A6
  2379. 00001794  5420                     addq.b     -[A0], 2
  2380. fn00001796:
  2381. 00001796  4E56 0000                link       A6, 0
  2382. 0000179A  6004                     bra        +0x6 /* 000017A0 */
  2383. label0000179C:
  2384. 0000179C  4EAD 020A                jsr        [A5 + 0x20A]
  2385. label000017A0:
  2386. 000017A0  302E 0008                move.w     D0, [A6 + 0x8]
  2387. 000017A4  536E 0008                subq.w     [A6 + 0x8], 1
  2388. 000017A8  4A40                     tst.w      D0
  2389. 000017AA  6EF0                     bgt        -0xE /* 0000179C */
  2390. 000017AC  4AAE 000A                tst.l      [A6 + 0xA]
  2391. 000017B0  6708                     beq        +0xA /* 000017BA */
  2392. 000017B2  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  2393. 000017B6  4EAD 01CA                jsr        [A5 + 0x1CA]
  2394. label000017BA:
  2395. 000017BA  4EAD 01D2                jsr        [A5 + 0x1D2]
  2396. 000017BE  3F3C FF7F                move.w     -[A7], 0xFF7F
  2397. 000017C2  4267                     clr.w      -[A7]
  2398. 000017C4  4EAD 01BA                jsr        [A5 + 0x1BA]
  2399. 000017C8  486D 9CCC                pea.l      [A5 - 0x6334]
  2400. 000017CC  A86E                     trap       InitGraf
  2401. 000017CE  A8FE                     trap       InitFonts
  2402. 000017D0  A912                     trap       InitWindows
  2403. 000017D2  A930                     trap       InitMenus
  2404. 000017D4  A9CC                     trap       TEInit
  2405. 000017D6  42A7                     clr.l      -[A7]
  2406. 000017D8  A97B                     trap       InitDialogs
  2407. 000017DA  A850                     trap       InitCursor
  2408. 000017DC  486D 9BD8                pea.l      [A5 - 0x6428]
  2409. 000017E0  A910                     trap       GetWMgrPort
  2410. 000017E2  206D 9BD8                movea.l    A0, [A5 - 0x6428]
  2411. 000017E6  3B68 0016 9BC4           move.w     [A5 - 0x643C], [A0 + 0x16]
  2412. 000017EC  206D 9BD8                movea.l    A0, [A5 - 0x6428]
  2413. 000017F0  3028 0014                move.w     D0, [A0 + 0x14]
  2414. 000017F4  0640 FFEC                addi.w     D0, 0xFFEC
  2415. 000017F8  3B40 9BC2                move.w     [A5 - 0x643E], D0
  2416. 000017FC  4E5E                     unlink     A6
  2417. 000017FE  4E75                     rts
  2418. 00001800  534B                     subq.w     A3, 1
  2419. 00001802  454C                     chk.w      D2, A4
  2420. 00001804  494E                     chk.w      D4, A6
  2421. 00001806  4954                     chk.w      D4, [A4]
  2422. fn00001808:
  2423. 00001808  4E56 FFE6                link       A6, -0x001A
  2424. 0000180C  48E7 0038                movem.l    -[A7], A2,A3,A4
  2425. 00001810  6000 00A6                bra        +0xA8 /* 000018B8 */
  2426. label00001814:
  2427. 00001814  A9B4                     trap       SystemTask
  2428. 00001816  4AAD 9BDE                tst.l      [A5 - 0x6422]
  2429. 0000181A  6706                     beq        +0x8 /* 00001822 */
  2430. 0000181C  206D 9BDE                movea.l    A0, [A5 - 0x6422]
  2431. 00001820  4E90                     jsr        [A0]
  2432. label00001822:
  2433. 00001822  4267                     clr.w      -[A7]
  2434. 00001824  3F2D 9BE6                move.w     -[A7], [A5 - 0x641A]
  2435. 00001828  486E FFF0                pea.l      [A6 - 0x10]
  2436. 0000182C  A970                     trap       GetNextEvent
  2437. 0000182E  101F                     move.b     D0, [A7]+
  2438. 00001830  1D40 FFEF                move.b     [A6 - 0x11], D0
  2439. 00001834  4A2E FFEF                tst.b      [A6 - 0x11]
  2440. 00001838  6716                     beq        +0x18 /* 00001850 */
  2441. 0000183A  4AAD 9BE2                tst.l      [A5 - 0x641E]
  2442. 0000183E  6716                     beq        +0x18 /* 00001856 */
  2443. 00001840  486E FFF0                pea.l      [A6 - 0x10]
  2444. 00001844  206D 9BE2                movea.l    A0, [A5 - 0x641E]
  2445. 00001848  4E90                     jsr        [A0]
  2446. 0000184A  588F                     addq.l     A7, 4
  2447. 0000184C  4A00                     tst.b      D0
  2448. 0000184E  6706                     beq        +0x8 /* 00001856 */
  2449. label00001850:
  2450. 00001850  4A6E FFF0                tst.w      [A6 - 0x10]
  2451. 00001854  660A                     bne        +0xC /* 00001860 */
  2452. label00001856:
  2453. 00001856  486E FFF0                pea.l      [A6 - 0x10]
  2454. 0000185A  4EBA FD38                jsr        [PC - 0x2C8 /* 00001594 */]
  2455. 0000185E  588F                     addq.l     A7, 4
  2456. label00001860:
  2457. 00001860  4A2E FFEF                tst.b      [A6 - 0x11]
  2458. 00001864  6600 0052                bne        +0x54 /* 000018B8 */
  2459. 00001868  486E FFEA                pea.l      [A6 - 0x16]
  2460. 0000186C  A874                     trap       GetPort
  2461. 0000186E  286D 9BB8                movea.l    A4, [A5 - 0x6448]
  2462. 00001872  6038                     bra        +0x3A /* 000018AC */
  2463. label00001874:
  2464. 00001874  2054                     movea.l    A0, [A4]
  2465. 00001876  2668 002E                movea.l    A3, [A0 + 0x2E]
  2466. 0000187A  2054                     movea.l    A0, [A4]
  2467. 0000187C  2450                     movea.l    A2, [A0]
  2468. 0000187E  42A7                     clr.l      -[A7]
  2469. 00001880  A924                     trap       FrontWindow
  2470. 00001882  205F                     movea.l    A0, [A7]+
  2471. 00001884  B5C8                     cmpa.l     A2, A0
  2472. 00001886  6708                     beq        +0xA /* 00001890 */
  2473. 00001888  2054                     movea.l    A0, [A4]
  2474. 0000188A  4A28 002D                tst.b      [A0 + 0x2D]
  2475. 0000188E  661A                     bne        +0x1C /* 000018AA */
  2476. label00001890:
  2477. 00001890  A9B4                     trap       SystemTask
  2478. 00001892  2054                     movea.l    A0, [A4]
  2479. 00001894  2028 001C                move.l     D0, [A0 + 0x1C]
  2480. 00001898  2D40 FFE6                move.l     [A6 - 0x1A], D0
  2481. 0000189C  4A80                     tst.l      D0
  2482. 0000189E  670A                     beq        +0xC /* 000018AA */
  2483. 000018A0  2F0A                     move.l     -[A7], A2
  2484. 000018A2  A873                     trap       SetPort
  2485. 000018A4  206E FFE6                movea.l    A0, [A6 - 0x1A]
  2486. 000018A8  4E90                     jsr        [A0]
  2487. label000018AA:
  2488. 000018AA  284B                     movea.l    A4, A3
  2489. label000018AC:
  2490. 000018AC  B8FC 0000                cmpa.w     A4, 0x0
  2491. 000018B0  66C2                     bne        -0x3C /* 00001874 */
  2492. 000018B2  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  2493. 000018B6  A873                     trap       SetPort
  2494. label000018B8:
  2495. 000018B8  4A6D 9BDC                tst.w      [A5 - 0x6424]
  2496. 000018BC  6700 FF56                beq        -0xA8 /* 00001814 */
  2497. 000018C0  426D 9BDC                clr.w      [A5 - 0x6424]
  2498. 000018C4  4CDF 1C00                movem.l    A4,A3,A2, [A7]+
  2499. 000018C8  4E5E                     unlink     A6
  2500. 000018CA  4E75                     rts
  2501. 000018CC  534B                     subq.w     A3, 1
  2502. 000018CE  454C                     chk.w      D2, A4
  2503. 000018D0  4D41                     chk.w      D6, D1
  2504. 000018D2  494E                     chk.w      D4, A6
  2505. fn000018D4:
  2506. 000018D4  7001                     moveq.l    D0, 0x01
  2507. 000018D6  3B40 9BDC                move.w     [A5 - 0x6424], D0
  2508. 000018DA  4E75                     rts
  2509. fn000018DC:
  2510. 000018DC  600E                     bra        +0x10 /* 000018EC */
  2511. label000018DE:
  2512. 000018DE  206D 9BB8                movea.l    A0, [A5 - 0x6448]
  2513. 000018E2  2050                     movea.l    A0, [A0]
  2514. 000018E4  2F10                     move.l     -[A7], [A0]
  2515. 000018E6  4EBA 024E                jsr        [PC + 0x24E /* 00001B36 */]
  2516. 000018EA  588F                     addq.l     A7, 4
  2517. label000018EC:
  2518. 000018EC  4AAD 9BB8                tst.l      [A5 - 0x6448]
  2519. 000018F0  66EC                     bne        -0x12 /* 000018DE */
  2520. 000018F2  6016                     bra        +0x18 /* 0000190A */
  2521. label000018F4:
  2522. 000018F4  206D 9BC6                movea.l    A0, [A5 - 0x643A]
  2523. 000018F8  42A7                     clr.l      -[A7]
  2524. 000018FA  2050                     movea.l    A0, [A0]
  2525. 000018FC  3F10                     move.w     -[A7], [A0]
  2526. 000018FE  A949                     trap       GetMenuHandle
  2527. 00001900  205F                     movea.l    A0, [A7]+
  2528. 00001902  4850                     pea.l      [A0]
  2529. 00001904  4EBA 0088                jsr        [PC + 0x88 /* 0000198E */]
  2530. 00001908  588F                     addq.l     A7, 4
  2531. label0000190A:
  2532. 0000190A  4AAD 9BC6                tst.l      [A5 - 0x643A]
  2533. 0000190E  66E4                     bne        -0x1A /* 000018F4 */
  2534. 00001910  4E75                     rts
  2535. fn00001912:
  2536. 00001912  4E56 0000                link       A6, 0
  2537. 00001916  2F0C                     move.l     -[A7], A4
  2538. 00001918  422D 9BCA                clr.b      [A5 - 0x6436]
  2539. 0000191C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2540. 00001920  4EBA 006C                jsr        [PC + 0x6C /* 0000198E */]
  2541. 00001924  588F                     addq.l     A7, 4
  2542. 00001926  7001                     moveq.l    D0, 0x01
  2543. 00001928  1B40 9BCA                move.b     [A5 - 0x6436], D0
  2544. 0000192C  42A7                     clr.l      -[A7]
  2545. 0000192E  4878 000E                pea.l      [0x0000000E]
  2546. 00001932  4EAD 01FA                jsr        [A5 + 0x1FA]
  2547. 00001936  205F                     movea.l    A0, [A7]+
  2548. 00001938  2848                     movea.l    A4, A0
  2549. 0000193A  B0FC 0000                cmpa.w     A0, 0x0
  2550. 0000193E  672E                     beq        +0x30 /* 0000196E */
  2551. 00001940  2054                     movea.l    A0, [A4]
  2552. 00001942  216D 9BC6 000A           move.l     [A0 + 0xA], [A5 - 0x643A]
  2553. 00001948  2B4C 9BC6                move.l     [A5 - 0x643A], A4
  2554. 0000194C  206E 0008                movea.l    A0, [A6 + 0x8]
  2555. 00001950  2050                     movea.l    A0, [A0]
  2556. 00001952  2254                     movea.l    A1, [A4]
  2557. 00001954  3290                     move.w     [A1], [A0]
  2558. 00001956  2054                     movea.l    A0, [A4]
  2559. 00001958  216E 000C 0002           move.l     [A0 + 0x2], [A6 + 0xC]
  2560. 0000195E  2054                     movea.l    A0, [A4]
  2561. 00001960  216E 0010 0006           move.l     [A0 + 0x6], [A6 + 0x10]
  2562. 00001966  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2563. 0000196A  4267                     clr.w      -[A7]
  2564. 0000196C  A935                     trap       InsertMenu
  2565. label0000196E:
  2566. 0000196E  4A2E 0015                tst.b      [A6 + 0x15]
  2567. 00001972  6702                     beq        +0x4 /* 00001976 */
  2568. 00001974  A937                     trap       DrawMenuBar
  2569. label00001976:
  2570. 00001976  B8FC 0000                cmpa.w     A4, 0x0
  2571. 0000197A  56C0                     sne        D0
  2572. 0000197C  4400                     neg.b      D0
  2573. 0000197E  4880                     ext.w      D0
  2574. 00001980  285F                     movea.l    A4, [A7]+
  2575. 00001982  4E5E                     unlink     A6
  2576. 00001984  4E75                     rts
  2577. 00001986  534B                     subq.w     A3, 1
  2578. 00001988  454C                     chk.w      D2, A4
  2579. 0000198A  4D45                     chk.w      D6, D5
  2580. 0000198C  4E55 4E56                link       A5, -0xFFFFB1AA
  2581. // begin alternate branch 0000198E-0000199C
  2582. fn0000198E:
  2583. 0000198E  4E56 0000                link       A6, 0
  2584. 00001992  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  2585. 00001996  206E 0008                movea.l    A0, [A6 + 0x8]
  2586. 0000199A  2050                     movea.l    A0, [A0]
  2587. // end alternate branch 0000198E-0000199C
  2588. fn0000198E: // (misaligned)
  2589. 00001990  0000 48E7                ori.b      D0, 0xE7
  2590. 00001994  0138 206E                btst       [0x0000206E], D0
  2591. 00001998  0008 2050                ori.b      A0, 0x50 /* 'P' */
  2592. 0000199C  3E10                     move.w     D7, [A0]
  2593. 0000199E  4AAD 9BC6                tst.l      [A5 - 0x643A]
  2594. 000019A2  6700 0070                beq        +0x72 /* 00001A14 */
  2595. 000019A6  206D 9BC6                movea.l    A0, [A5 - 0x643A]
  2596. 000019AA  2050                     movea.l    A0, [A0]
  2597. 000019AC  BE50                     cmp.w      D7, [A0]
  2598. 000019AE  6612                     bne        +0x14 /* 000019C2 */
  2599. 000019B0  266D 9BC6                movea.l    A3, [A5 - 0x643A]
  2600. 000019B4  206D 9BC6                movea.l    A0, [A5 - 0x643A]
  2601. 000019B8  2050                     movea.l    A0, [A0]
  2602. 000019BA  2B68 000A 9BC6           move.l     [A5 - 0x643A], [A0 + 0xA]
  2603. 000019C0  602C                     bra        +0x2E /* 000019EE */
  2604. label000019C2:
  2605. 000019C2  286D 9BC6                movea.l    A4, [A5 - 0x643A]
  2606. 000019C6  6020                     bra        +0x22 /* 000019E8 */
  2607. label000019C8:
  2608. 000019C8  2054                     movea.l    A0, [A4]
  2609. 000019CA  2668 000A                movea.l    A3, [A0 + 0xA]
  2610. 000019CE  B6FC 0000                cmpa.w     A3, 0x0
  2611. 000019D2  6740                     beq        +0x42 /* 00001A14 */
  2612. 000019D4  2053                     movea.l    A0, [A3]
  2613. 000019D6  BE50                     cmp.w      D7, [A0]
  2614. 000019D8  660C                     bne        +0xE /* 000019E6 */
  2615. 000019DA  2053                     movea.l    A0, [A3]
  2616. 000019DC  2254                     movea.l    A1, [A4]
  2617. 000019DE  2368 000A 000A           move.l     [A1 + 0xA], [A0 + 0xA]
  2618. 000019E4  6008                     bra        +0xA /* 000019EE */
  2619. label000019E6:
  2620. 000019E6  284B                     movea.l    A4, A3
  2621. label000019E8:
  2622. 000019E8  B8FC 0000                cmpa.w     A4, 0x0
  2623. 000019EC  66DA                     bne        -0x24 /* 000019C8 */
  2624. label000019EE:
  2625. 000019EE  3F07                     move.w     -[A7], D7
  2626. 000019F0  A936                     trap       DeleteMenu
  2627. 000019F2  A937                     trap       DrawMenuBar
  2628. 000019F4  4A2D 9BCA                tst.b      [A5 - 0x6436]
  2629. 000019F8  6714                     beq        +0x16 /* 00001A0E */
  2630. 000019FA  2053                     movea.l    A0, [A3]
  2631. 000019FC  2468 0006                movea.l    A2, [A0 + 0x6]
  2632. 00001A00  B4FC 0000                cmpa.w     A2, 0x0
  2633. 00001A04  6708                     beq        +0xA /* 00001A0E */
  2634. 00001A06  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2635. 00001A0A  4E92                     jsr        [A2]
  2636. 00001A0C  588F                     addq.l     A7, 4
  2637. label00001A0E:
  2638. 00001A0E  2F0B                     move.l     -[A7], A3
  2639. 00001A10  4EAD 0202                jsr        [A5 + 0x202]
  2640. label00001A14:
  2641. 00001A14  4CDF 1C80                movem.l    A4,A3,A2,D7, [A7]+
  2642. 00001A18  4E5E                     unlink     A6
  2643. 00001A1A  4E75                     rts
  2644. 00001A1C  534B                     subq.w     A3, 1
  2645. 00001A1E  454C                     chk.w      D2, A4
  2646. 00001A20  524D                     addq.w     A5, 1
  2647. 00001A22  5645                     addq.w     D5, 3
  2648. fn00001A24:
  2649. 00001A24  4E56 0000                link       A6, 0
  2650. 00001A28  7001                     moveq.l    D0, 0x01
  2651. 00001A2A  3B40 9BD0                move.w     [A5 - 0x6430], D0
  2652. 00001A2E  42A7                     clr.l      -[A7]
  2653. 00001A30  3F2D 9BD0                move.w     -[A7], [A5 - 0x6430]
  2654. 00001A34  486D 9BF6                pea.l      [A5 - 0x640A]
  2655. 00001A38  A931                     trap       NewMenu
  2656. 00001A3A  205F                     movea.l    A0, [A7]+
  2657. 00001A3C  2B48 9BCC                move.l     [A5 - 0x6434], A0
  2658. 00001A40  4AAE 0008                tst.l      [A6 + 0x8]
  2659. 00001A44  6720                     beq        +0x22 /* 00001A66 */
  2660. 00001A46  7001                     moveq.l    D0, 0x01
  2661. 00001A48  1B40 9BD6                move.b     [A5 - 0x642A], D0
  2662. 00001A4C  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  2663. 00001A50  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2664. 00001A54  A933                     trap       AppendMenu
  2665. 00001A56  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  2666. 00001A5A  486D 9BF8                pea.l      [A5 - 0x6408]
  2667. 00001A5E  A933                     trap       AppendMenu
  2668. 00001A60  2B6E 000C 9BD2           move.l     [A5 - 0x642E], [A6 + 0xC]
  2669. label00001A66:
  2670. 00001A66  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  2671. 00001A6A  4879 4452 5652           pea.l      [0x44525652]
  2672. 00001A70  A94D                     trap       AppendResMenu/AddResMenu
  2673. 00001A72  4267                     clr.w      -[A7]
  2674. 00001A74  486D 00D2                pea.l      [A5 + 0xD2]
  2675. 00001A78  486D 00DA                pea.l      [A5 + 0xDA]
  2676. 00001A7C  2F2D 9BCC                move.l     -[A7], [A5 - 0x6434]
  2677. 00001A80  4EBA FE90                jsr        [PC - 0x170 /* 00001912 */]
  2678. 00001A84  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2679. 00001A88  4E5E                     unlink     A6
  2680. 00001A8A  4E75                     rts
  2681. 00001A8C  534B                     subq.w     A3, 1
  2682. 00001A8E  454C                     chk.w      D2, A4
  2683. 00001A90  4150                     chk.w      D0, [A0]
  2684. 00001A92  504C                     addq.w     A4, 8
  2685. fn00001A94:
  2686. 00001A94  4E56 0000                link       A6, 0
  2687. 00001A98  48E7 0018                movem.l    -[A7], A3,A4
  2688. 00001A9C  422D 9BBC                clr.b      [A5 - 0x6444]
  2689. 00001AA0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2690. 00001AA4  4EBA 0090                jsr        [PC + 0x90 /* 00001B36 */]
  2691. 00001AA8  588F                     addq.l     A7, 4
  2692. 00001AAA  7001                     moveq.l    D0, 0x01
  2693. 00001AAC  1B40 9BBC                move.b     [A5 - 0x6444], D0
  2694. 00001AB0  42A7                     clr.l      -[A7]
  2695. 00001AB2  4878 0032                pea.l      [0x00000032]
  2696. 00001AB6  4EAD 01FA                jsr        [A5 + 0x1FA]
  2697. 00001ABA  205F                     movea.l    A0, [A7]+
  2698. 00001ABC  2848                     movea.l    A4, A0
  2699. 00001ABE  B0FC 0000                cmpa.w     A0, 0x0
  2700. 00001AC2  6758                     beq        +0x5A /* 00001B1C */
  2701. 00001AC4  2054                     movea.l    A0, [A4]
  2702. 00001AC6  216D 9BB8 002E           move.l     [A0 + 0x2E], [A5 - 0x6448]
  2703. 00001ACC  2B4C 9BB8                move.l     [A5 - 0x6448], A4
  2704. 00001AD0  2654                     movea.l    A3, [A4]
  2705. 00001AD2  26AE 0008                move.l     [A3], [A6 + 0x8]
  2706. 00001AD6  276E 000C 0008           move.l     [A3 + 0x8], [A6 + 0xC]
  2707. 00001ADC  276E 0010 000C           move.l     [A3 + 0xC], [A6 + 0x10]
  2708. 00001AE2  276E 0014 0010           move.l     [A3 + 0x10], [A6 + 0x14]
  2709. 00001AE8  276E 0018 0014           move.l     [A3 + 0x14], [A6 + 0x18]
  2710. 00001AEE  276E 001C 0018           move.l     [A3 + 0x18], [A6 + 0x1C]
  2711. 00001AF4  276E 0020 0004           move.l     [A3 + 0x4], [A6 + 0x20]
  2712. 00001AFA  276E 0024 001C           move.l     [A3 + 0x1C], [A6 + 0x24]
  2713. 00001B00  176E 0029 002D           move.b     [A3 + 0x2D], [A6 + 0x29]
  2714. 00001B06  422B 002C                clr.b      [A3 + 0x2C]
  2715. 00001B0A  41EB 0024                lea.l      A0, [A3 + 0x24]
  2716. 00001B0E  43ED 9BBE                lea.l      A1, [A5 - 0x6442]
  2717. 00001B12  20D9                     move.l     [A0]+, [A1]+
  2718. 00001B14  20D9                     move.l     [A0]+, [A1]+
  2719. 00001B16  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2720. 00001B1A  A873                     trap       SetPort
  2721. label00001B1C:
  2722. 00001B1C  B8FC 0000                cmpa.w     A4, 0x0
  2723. 00001B20  56C0                     sne        D0
  2724. 00001B22  4400                     neg.b      D0
  2725. 00001B24  4880                     ext.w      D0
  2726. 00001B26  4CDF 1800                movem.l    A4,A3, [A7]+
  2727. 00001B2A  4E5E                     unlink     A6
  2728. 00001B2C  4E75                     rts
  2729. 00001B2E  534B                     subq.w     A3, 1
  2730. 00001B30  454C                     chk.w      D2, A4
  2731. 00001B32  5749                     subq.w     A1, 3
  2732. 00001B34  4E44                     trap       4
  2733. fn00001B36:
  2734. 00001B36  4E56 0000                link       A6, 0
  2735. 00001B3A  48E7 0018                movem.l    -[A7], A3,A4
  2736. 00001B3E  202E 0008                move.l     D0, [A6 + 0x8]
  2737. 00001B42  B0AD 9BEC                cmp.l      D0, [A5 - 0x6414]
  2738. 00001B46  6604                     bne        +0x6 /* 00001B4C */
  2739. 00001B48  42AD 9BEC                clr.l      [A5 - 0x6414]
  2740. label00001B4C:
  2741. 00001B4C  4AAD 9BB8                tst.l      [A5 - 0x6448]
  2742. 00001B50  6700 0066                beq        +0x68 /* 00001BB8 */
  2743. 00001B54  206D 9BB8                movea.l    A0, [A5 - 0x6448]
  2744. 00001B58  2050                     movea.l    A0, [A0]
  2745. 00001B5A  2010                     move.l     D0, [A0]
  2746. 00001B5C  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  2747. 00001B60  6612                     bne        +0x14 /* 00001B74 */
  2748. 00001B62  266D 9BB8                movea.l    A3, [A5 - 0x6448]
  2749. 00001B66  206D 9BB8                movea.l    A0, [A5 - 0x6448]
  2750. 00001B6A  2050                     movea.l    A0, [A0]
  2751. 00001B6C  2B68 002E 9BB8           move.l     [A5 - 0x6448], [A0 + 0x2E]
  2752. 00001B72  6030                     bra        +0x32 /* 00001BA4 */
  2753. label00001B74:
  2754. 00001B74  286D 9BB8                movea.l    A4, [A5 - 0x6448]
  2755. 00001B78  6024                     bra        +0x26 /* 00001B9E */
  2756. label00001B7A:
  2757. 00001B7A  2054                     movea.l    A0, [A4]
  2758. 00001B7C  2668 002E                movea.l    A3, [A0 + 0x2E]
  2759. 00001B80  B6FC 0000                cmpa.w     A3, 0x0
  2760. 00001B84  6732                     beq        +0x34 /* 00001BB8 */
  2761. 00001B86  2053                     movea.l    A0, [A3]
  2762. 00001B88  2010                     move.l     D0, [A0]
  2763. 00001B8A  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  2764. 00001B8E  660C                     bne        +0xE /* 00001B9C */
  2765. 00001B90  2053                     movea.l    A0, [A3]
  2766. 00001B92  2254                     movea.l    A1, [A4]
  2767. 00001B94  2368 002E 002E           move.l     [A1 + 0x2E], [A0 + 0x2E]
  2768. 00001B9A  6008                     bra        +0xA /* 00001BA4 */
  2769. label00001B9C:
  2770. 00001B9C  284B                     movea.l    A4, A3
  2771. label00001B9E:
  2772. 00001B9E  B8FC 0000                cmpa.w     A4, 0x0
  2773. 00001BA2  66D6                     bne        -0x28 /* 00001B7A */
  2774. label00001BA4:
  2775. 00001BA4  4A2D 9BBC                tst.b      [A5 - 0x6444]
  2776. 00001BA8  6708                     beq        +0xA /* 00001BB2 */
  2777. 00001BAA  2F0B                     move.l     -[A7], A3
  2778. 00001BAC  4EBA F7F6                jsr        [PC - 0x80A /* 000013A4 */]
  2779. 00001BB0  588F                     addq.l     A7, 4
  2780. label00001BB2:
  2781. 00001BB2  2F0B                     move.l     -[A7], A3
  2782. 00001BB4  4EAD 0202                jsr        [A5 + 0x202]
  2783. label00001BB8:
  2784. 00001BB8  4CDF 1800                movem.l    A4,A3, [A7]+
  2785. 00001BBC  4E5E                     unlink     A6
  2786. 00001BBE  4E75                     rts
  2787. 00001BC0  534B                     subq.w     A3, 1
  2788. 00001BC2  454C                     chk.w      D2, A4
  2789. 00001BC4  524D                     addq.w     A5, 1
  2790. 00001BC6  5645                     addq.w     D5, 3
  2791. 00001BC8  4E56 FFFE                link       A6, -0x0002
  2792. 00001BCC  4267                     clr.w      -[A7]
  2793. 00001BCE  42A7                     clr.l      -[A7]
  2794. 00001BD0  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  2795. 00001BD4  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2796. 00001BD8  42A7                     clr.l      -[A7]
  2797. 00001BDA  42A7                     clr.l      -[A7]
  2798. 00001BDC  42A7                     clr.l      -[A7]
  2799. 00001BDE  42A7                     clr.l      -[A7]
  2800. 00001BE0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2801. 00001BE4  4EBA FEAE                jsr        [PC - 0x152 /* 00001A94 */]
  2802. 00001BE8  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2803. 00001BEC  4A40                     tst.w      D0
  2804. 00001BEE  6718                     beq        +0x1A /* 00001C08 */
  2805. 00001BF0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2806. 00001BF4  4EBA F49A                jsr        [PC - 0xB66 /* 00001090 */]
  2807. 00001BF8  588F                     addq.l     A7, 4
  2808. 00001BFA  2040                     movea.l    A0, D0
  2809. 00001BFC  2050                     movea.l    A0, [A0]
  2810. 00001BFE  216E 000C 0020           move.l     [A0 + 0x20], [A6 + 0xC]
  2811. 00001C04  7001                     moveq.l    D0, 0x01
  2812. 00001C06  6002                     bra        +0x4 /* 00001C0A */
  2813. label00001C08:
  2814. 00001C08  7000                     moveq.l    D0, 0x00
  2815. label00001C0A:
  2816. 00001C0A  4E5E                     unlink     A6
  2817. 00001C0C  4E75                     rts
  2818. 00001C0E  534B                     subq.w     A3, 1
  2819. 00001C10  454C                     chk.w      D2, A4
  2820. 00001C12  4449                     neg.w      A1
  2821. 00001C14  414C                     chk.w      D0, A4
  2822. 00001C16  4E56 0000                link       A6, 0
  2823. 00001C1A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2824. 00001C1E  4EBA FF16                jsr        [PC - 0xEA /* 00001B36 */]
  2825. 00001C22  588F                     addq.l     A7, 4
  2826. 00001C24  4E5E                     unlink     A6
  2827. 00001C26  4E75                     rts
  2828. 00001C28  534B                     subq.w     A3, 1
  2829. 00001C2A  454C                     chk.w      D2, A4
  2830. 00001C2C  524D                     addq.w     A5, 1
  2831. 00001C2E  5645                     addq.w     D5, 3
  2832. 00001C30  4E56 FFF8                link       A6, -0x0008
  2833. 00001C34  2F0C                     move.l     -[A7], A4
  2834. 00001C36  4AAE 0008                tst.l      [A6 + 0x8]
  2835. 00001C3A  6618                     bne        +0x1A /* 00001C54 */
  2836. 00001C3C  486D 9BBE                pea.l      [A5 - 0x6442]
  2837. 00001C40  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  2838. 00001C44  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  2839. 00001C48  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  2840. 00001C4C  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  2841. 00001C50  A8A7                     trap       SetRect
  2842. 00001C52  6034                     bra        +0x36 /* 00001C88 */
  2843. label00001C54:
  2844. 00001C54  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2845. 00001C58  4EBA F486                jsr        [PC - 0xB7A /* 000010E0 */]
  2846. 00001C5C  588F                     addq.l     A7, 4
  2847. 00001C5E  2840                     movea.l    A4, D0
  2848. 00001C60  4A80                     tst.l      D0
  2849. 00001C62  6724                     beq        +0x26 /* 00001C88 */
  2850. 00001C64  486E FFF8                pea.l      [A6 - 0x8]
  2851. 00001C68  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  2852. 00001C6C  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  2853. 00001C70  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  2854. 00001C74  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  2855. 00001C78  A8A7                     trap       SetRect
  2856. 00001C7A  2054                     movea.l    A0, [A4]
  2857. 00001C7C  41E8 0024                lea.l      A0, [A0 + 0x24]
  2858. 00001C80  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2859. 00001C84  20D9                     move.l     [A0]+, [A1]+
  2860. 00001C86  20D9                     move.l     [A0]+, [A1]+
  2861. label00001C88:
  2862. 00001C88  285F                     movea.l    A4, [A7]+
  2863. 00001C8A  4E5E                     unlink     A6
  2864. 00001C8C  4E75                     rts
  2865. 00001C8E  534B                     subq.w     A3, 1
  2866. 00001C90  454C                     chk.w      D2, A4
  2867. 00001C92  4752                     chk.w      D3, [A2]
  2868. 00001C94  4F57                     chk.w      D7, [A7]
  2869. 00001C96  4E56 0000                link       A6, 0
  2870. 00001C9A  3B6E 0008 9BE6           move.w     [A5 - 0x641A], [A6 + 0x8]
  2871. 00001CA0  4E5E                     unlink     A6
  2872. 00001CA2  4E75                     rts
  2873. 00001CA4  534B                     subq.w     A3, 1
  2874. 00001CA6  454C                     chk.w      D2, A4
  2875. 00001CA8  4556                     chk.w      D2, [A6]
  2876. 00001CAA  454E                     chk.w      D2, A6
  2877. 00001CAC  4E56 0000                link       A6, 0
  2878. 00001CB0  206E 0008                movea.l    A0, [A6 + 0x8]
  2879. 00001CB4  30AD 9BE6                move.w     [A0], [A5 - 0x641A]
  2880. 00001CB8  4E5E                     unlink     A6
  2881. 00001CBA  4E75                     rts
  2882. 00001CBC  534B                     subq.w     A3, 1
  2883. 00001CBE  454C                     chk.w      D2, A4
  2884. 00001CC0  4745                     chk.w      D3, D5
  2885. 00001CC2  5445                     addq.w     D5, 2
  2886. 00001CC4  4E56 0000                link       A6, 0
  2887. 00001CC8  2B6E 0008 9BDE           move.l     [A5 - 0x6422], [A6 + 0x8]
  2888. 00001CCE  4E5E                     unlink     A6
  2889. 00001CD0  4E75                     rts
  2890. 00001CD2  534B                     subq.w     A3, 1
  2891. 00001CD4  454C                     chk.w      D2, A4
  2892. 00001CD6  4241                     clr.w      D1
  2893. 00001CD8  434B                     chk.w      D1, A3
  2894. 00001CDA  4E56 0000                link       A6, 0
  2895. 00001CDE  206E 0008                movea.l    A0, [A6 + 0x8]
  2896. 00001CE2  20AD 9BDE                move.l     [A0], [A5 - 0x6422]
  2897. 00001CE6  4E5E                     unlink     A6
  2898. 00001CE8  4E75                     rts
  2899. 00001CEA  534B                     subq.w     A3, 1
  2900. 00001CEC  454C                     chk.w      D2, A4
  2901. 00001CEE  4745                     chk.w      D3, D5
  2902. 00001CF0  5442                     addq.w     D2, 2
  2903. 00001CF2  4E56 0000                link       A6, 0
  2904. 00001CF6  2B6E 0008 9BE2           move.l     [A5 - 0x641E], [A6 + 0x8]
  2905. 00001CFC  4E5E                     unlink     A6
  2906. 00001CFE  4E75                     rts
  2907. 00001D00  534B                     subq.w     A3, 1
  2908. 00001D02  454C                     chk.w      D2, A4
  2909. 00001D04  4556                     chk.w      D2, [A6]
  2910. 00001D06  454E                     chk.w      D2, A6
  2911. 00001D08  4E56 0000                link       A6, 0
  2912. 00001D0C  206E 0008                movea.l    A0, [A6 + 0x8]
  2913. 00001D10  20AD 9BE2                move.l     [A0], [A5 - 0x641E]
  2914. 00001D14  4E5E                     unlink     A6
  2915. 00001D16  4E75                     rts
  2916. 00001D18  534B                     subq.w     A3, 1
  2917. 00001D1A  454C                     chk.w      D2, A4
  2918. 00001D1C  4745                     chk.w      D3, D5
  2919. 00001D1E  5445                     addq.w     D5, 2
  2920. 00001D20  4E56 0000                link       A6, 0
  2921. 00001D24  7001                     moveq.l    D0, 0x01
  2922. 00001D26  806E 0008                or.w       D0, [A6 + 0x8]
  2923. 00001D2A  3B40 9BF4                move.w     [A5 - 0x640C], D0
  2924. 00001D2E  4E5E                     unlink     A6
  2925. 00001D30  4E75                     rts
  2926. 00001D32  534B                     subq.w     A3, 1
  2927. 00001D34  454C                     chk.w      D2, A4
  2928. 00001D36  444C                     neg.w      A4
  2929. 00001D38  4F47                     chk.w      D7, D7
  2930. 00001D3A  4E56 0000                link       A6, 0
  2931. 00001D3E  206E 0008                movea.l    A0, [A6 + 0x8]
  2932. 00001D42  30AD 9BF4                move.w     [A0], [A5 - 0x640C]
  2933. 00001D46  4E5E                     unlink     A6
  2934. 00001D48  4E75                     rts
  2935. 00001D4A  534B                     subq.w     A3, 1
  2936. 00001D4C  454C                     chk.w      D2, A4
  2937. 00001D4E  4745                     chk.w      D3, D5
  2938. 00001D50  5444                     addq.w     D4, 2
  2939. fn00001D52:
  2940. 00001D52  4E56 FFAC                link       A6, -0x0054
  2941. 00001D56  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2942. 00001D5A  4EAD 0282                jsr        [A5 + 0x282]
  2943. 00001D5E  588F                     addq.l     A7, 4
  2944. 00001D60  426E FFC8                clr.w      [A6 - 0x38]
  2945. 00001D64  2D6E 0008 FFBE           move.l     [A6 - 0x42], [A6 + 0x8]
  2946. 00001D6A  426E FFC2                clr.w      [A6 - 0x3E]
  2947. 00001D6E  422E FFC6                clr.b      [A6 - 0x3A]
  2948. 00001D72  4267                     clr.w      -[A7]
  2949. 00001D74  486E FFAC                pea.l      [A6 - 0x54]
  2950. 00001D78  4267                     clr.w      -[A7]
  2951. 00001D7A  4EAD 0242                jsr        [A5 + 0x242]
  2952. 00001D7E  301F                     move.w     D0, [A7]+
  2953. 00001D80  0C40 FFD5                cmpi.w     D0, 0xFFD5
  2954. 00001D84  660E                     bne        +0x10 /* 00001D94 */
  2955. 00001D86  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2956. 00001D8A  4EAD 027A                jsr        [A5 + 0x27A]
  2957. 00001D8E  588F                     addq.l     A7, 4
  2958. 00001D90  7000                     moveq.l    D0, 0x00
  2959. 00001D92  600C                     bra        +0xE /* 00001DA0 */
  2960. label00001D94:
  2961. 00001D94  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2962. 00001D98  4EAD 027A                jsr        [A5 + 0x27A]
  2963. 00001D9C  588F                     addq.l     A7, 4
  2964. 00001D9E  7001                     moveq.l    D0, 0x01
  2965. label00001DA0:
  2966. 00001DA0  4E5E                     unlink     A6
  2967. 00001DA2  4E75                     rts
  2968. fn00001DA4:
  2969. 00001DA4  4E56 0000                link       A6, 0
  2970. 00001DA8  48E7 0300                movem.l    -[A7], D6,D7
  2971. 00001DAC  3E2E 0008                move.w     D7, [A6 + 0x8]
  2972. 00001DB0  7C00                     moveq.l    D6, 0x00
  2973. 00001DB2  0807 000A                btst.b     D7, 0xA /* '\n' */
  2974. 00001DB6  6720                     beq        +0x22 /* 00001DD8 */
  2975. 00001DB8  0807 0008                btst.b     D7, 0x8
  2976. 00001DBC  671A                     beq        +0x1C /* 00001DD8 */
  2977. 00001DBE  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  2978. 00001DC2  4EBA FF8E                jsr        [PC - 0x72 /* 00001D52 */]
  2979. 00001DC6  588F                     addq.l     A7, 4
  2980. 00001DC8  4A00                     tst.b      D0
  2981. 00001DCA  670C                     beq        +0xE /* 00001DD8 */
  2982. 00001DCC  7011                     moveq.l    D0, 0x11
  2983. 00001DCE  3B40 A266                move.w     [A5 - 0x5D9A], D0
  2984. 00001DD2  7000                     moveq.l    D0, 0x00
  2985. 00001DD4  6000 0128                bra        +0x12A /* 00001EFE */
  2986. label00001DD8:
  2987. 00001DD8  7003                     moveq.l    D0, 0x03
  2988. 00001DDA  C047                     and.w      D0, D7
  2989. 00001DDC  4EAD 003A                jsr        [A5 + 0x3A]
  2990. 00001DE0  0000 0002                ori.b      D0, 0x2
  2991. 00001DE4  00E4                     ori.?      -[A4], 0xFFFFFFFFFFFFFFFF
  2992. 00001DE6  0006 004E                ori.b      D6, 0x4E /* 'N' */
  2993. 00001DEA  008E 0807 0003           ori.l      A6, 0x8070003
  2994. 00001DF0  670C                     beq        +0xE /* 00001DFE */
  2995. 00001DF2  7016                     moveq.l    D0, 0x16
  2996. 00001DF4  3B40 A266                move.w     [A5 - 0x5D9A], D0
  2997. 00001DF8  7000                     moveq.l    D0, 0x00
  2998. 00001DFA  6000 0102                bra        +0x104 /* 00001EFE */
  2999. label00001DFE:
  3000. 00001DFE  0807 0009                btst.b     D7, 0x9 /* '\t' */
  3001. 00001E02  6720                     beq        +0x22 /* 00001E24 */
  3002. 00001E04  3006                     move.w     D0, D6
  3003. 00001E06  5246                     addq.w     D6, 1
  3004. 00001E08  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3005. 00001E0C  D0C0                     add.w      A0, D0
  3006. 00001E0E  7077                     moveq.l    D0, 0x77
  3007. 00001E10  1080                     move.b     [A0], D0
  3008. 00001E12  3006                     move.w     D0, D6
  3009. 00001E14  5246                     addq.w     D6, 1
  3010. 00001E16  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3011. 00001E1A  D0C0                     add.w      A0, D0
  3012. 00001E1C  702B                     moveq.l    D0, 0x2B
  3013. 00001E1E  1080                     move.b     [A0], D0
  3014. 00001E20  6000 00B6                bra        +0xB8 /* 00001ED8 */
  3015. label00001E24:
  3016. 00001E24  3006                     move.w     D0, D6
  3017. 00001E26  5246                     addq.w     D6, 1
  3018. 00001E28  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3019. 00001E2C  D0C0                     add.w      A0, D0
  3020. 00001E2E  7072                     moveq.l    D0, 0x72
  3021. 00001E30  1080                     move.b     [A0], D0
  3022. 00001E32  6000 00A4                bra        +0xA6 /* 00001ED8 */
  3023. 00001E36  0807 0003                btst.b     D7, 0x3
  3024. 00001E3A  672A                     beq        +0x2C /* 00001E66 */
  3025. 00001E3C  0807 0009                btst.b     D7, 0x9 /* '\t' */
  3026. 00001E40  6712                     beq        +0x14 /* 00001E54 */
  3027. 00001E42  3006                     move.w     D0, D6
  3028. 00001E44  5246                     addq.w     D6, 1
  3029. 00001E46  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3030. 00001E4A  D0C0                     add.w      A0, D0
  3031. 00001E4C  7077                     moveq.l    D0, 0x77
  3032. 00001E4E  1080                     move.b     [A0], D0
  3033. 00001E50  6000 0086                bra        +0x88 /* 00001ED8 */
  3034. label00001E54:
  3035. 00001E54  3006                     move.w     D0, D6
  3036. 00001E56  5246                     addq.w     D6, 1
  3037. 00001E58  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3038. 00001E5C  D0C0                     add.w      A0, D0
  3039. 00001E5E  7061                     moveq.l    D0, 0x61
  3040. 00001E60  1080                     move.b     [A0], D0
  3041. 00001E62  6000 0074                bra        +0x76 /* 00001ED8 */
  3042. label00001E66:
  3043. 00001E66  3006                     move.w     D0, D6
  3044. 00001E68  5246                     addq.w     D6, 1
  3045. 00001E6A  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3046. 00001E6E  D0C0                     add.w      A0, D0
  3047. 00001E70  7077                     moveq.l    D0, 0x77
  3048. 00001E72  1080                     move.b     [A0], D0
  3049. 00001E74  6000 0062                bra        +0x64 /* 00001ED8 */
  3050. label00001E78:
  3051. 00001E78  0807 0008                btst.b     D7, 0x8
  3052. 00001E7C  6606                     bne        +0x8 /* 00001E84 */
  3053. 00001E7E  0807 0009                btst.b     D7, 0x9 /* '\t' */
  3054. 00001E82  6710                     beq        +0x12 /* 00001E94 */
  3055. label00001E84:
  3056. 00001E84  3006                     move.w     D0, D6
  3057. 00001E86  5246                     addq.w     D6, 1
  3058. 00001E88  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3059. 00001E8C  D0C0                     add.w      A0, D0
  3060. 00001E8E  7077                     moveq.l    D0, 0x77
  3061. 00001E90  1080                     move.b     [A0], D0
  3062. 00001E92  6024                     bra        +0x26 /* 00001EB8 */
  3063. label00001E94:
  3064. 00001E94  0807 0003                btst.b     D7, 0x3
  3065. 00001E98  6710                     beq        +0x12 /* 00001EAA */
  3066. 00001E9A  3006                     move.w     D0, D6
  3067. 00001E9C  5246                     addq.w     D6, 1
  3068. 00001E9E  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3069. 00001EA2  D0C0                     add.w      A0, D0
  3070. 00001EA4  7061                     moveq.l    D0, 0x61
  3071. 00001EA6  1080                     move.b     [A0], D0
  3072. 00001EA8  600E                     bra        +0x10 /* 00001EB8 */
  3073. label00001EAA:
  3074. 00001EAA  3006                     move.w     D0, D6
  3075. 00001EAC  5246                     addq.w     D6, 1
  3076. 00001EAE  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3077. 00001EB2  D0C0                     add.w      A0, D0
  3078. 00001EB4  7072                     moveq.l    D0, 0x72
  3079. 00001EB6  1080                     move.b     [A0], D0
  3080. label00001EB8:
  3081. 00001EB8  3006                     move.w     D0, D6
  3082. 00001EBA  5246                     addq.w     D6, 1
  3083. 00001EBC  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3084. 00001EC0  D0C0                     add.w      A0, D0
  3085. 00001EC2  702B                     moveq.l    D0, 0x2B
  3086. 00001EC4  1080                     move.b     [A0], D0
  3087. 00001EC6  6010                     bra        +0x12 /* 00001ED8 */
  3088. 00001EC8  0807 0003                btst.b     D7, 0x3
  3089. 00001ECC  66AA                     bne        -0x54 /* 00001E78 */
  3090. 00001ECE  7016                     moveq.l    D0, 0x16
  3091. 00001ED0  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3092. 00001ED4  7000                     moveq.l    D0, 0x00
  3093. 00001ED6  6026                     bra        +0x28 /* 00001EFE */
  3094. label00001ED8:
  3095. 00001ED8  0807 000F                btst.b     D7, 0xF
  3096. 00001EDC  670E                     beq        +0x10 /* 00001EEC */
  3097. 00001EDE  3006                     move.w     D0, D6
  3098. 00001EE0  5246                     addq.w     D6, 1
  3099. 00001EE2  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3100. 00001EE6  D0C0                     add.w      A0, D0
  3101. 00001EE8  7062                     moveq.l    D0, 0x62
  3102. 00001EEA  1080                     move.b     [A0], D0
  3103. label00001EEC:
  3104. 00001EEC  3006                     move.w     D0, D6
  3105. 00001EEE  5246                     addq.w     D6, 1
  3106. 00001EF0  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3107. 00001EF4  D0C0                     add.w      A0, D0
  3108. 00001EF6  4210                     clr.b      [A0]
  3109. 00001EF8  41ED 9BFC                lea.l      A0, [A5 - 0x6404]
  3110. 00001EFC  2008                     move.l     D0, A0
  3111. label00001EFE:
  3112. 00001EFE  4CDF 00C0                movem.l    D7,D6, [A7]+
  3113. 00001F02  4E5E                     unlink     A6
  3114. 00001F04  4E75                     rts
  3115. fn00001F06:
  3116. 00001F06  4E56 0000                link       A6, 0
  3117. 00001F0A  2F07                     move.l     -[A7], D7
  3118. 00001F0C  3E2E 0008                move.w     D7, [A6 + 0x8]
  3119. 00001F10  0C47 001E                cmpi.w     D7, 0x1E
  3120. 00001F14  6C14                     bge        +0x16 /* 00001F2A */
  3121. 00001F16  3007                     move.w     D0, D7
  3122. 00001F18  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3123. 00001F1A  0012 41ED                ori.b      [A2], 0xED
  3124. 00001F1E  A038                     trap       WriteParam
  3125. 00001F20  D1C0                     add.l      A0, D0
  3126. 00001F22  0828 0006 0006           btst.b     [A0 + 0x6], 0x6
  3127. 00001F28  660A                     bne        +0xC /* 00001F34 */
  3128. label00001F2A:
  3129. 00001F2A  7009                     moveq.l    D0, 0x09
  3130. 00001F2C  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3131. 00001F30  7001                     moveq.l    D0, 0x01
  3132. 00001F32  6002                     bra        +0x4 /* 00001F36 */
  3133. label00001F34:
  3134. 00001F34  7000                     moveq.l    D0, 0x00
  3135. label00001F36:
  3136. 00001F36  2E1F                     move.l     D7, [A7]+
  3137. 00001F38  4E5E                     unlink     A6
  3138. 00001F3A  4E75                     rts
  3139. fn00001F3C:
  3140. 00001F3C  2F07                     move.l     -[A7], D7
  3141. 00001F3E  7E00                     moveq.l    D7, 0x00
  3142. 00001F40  601A                     bra        +0x1C /* 00001F5C */
  3143. label00001F42:
  3144. 00001F42  3007                     move.w     D0, D7
  3145. 00001F44  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3146. 00001F46  0012 41ED                ori.b      [A2], 0xED
  3147. 00001F4A  A038                     trap       WriteParam
  3148. 00001F4C  D1C0                     add.l      A0, D0
  3149. 00001F4E  0828 0006 0006           btst.b     [A0 + 0x6], 0x6
  3150. 00001F54  6604                     bne        +0x6 /* 00001F5A */
  3151. 00001F56  3007                     move.w     D0, D7
  3152. 00001F58  600A                     bra        +0xC /* 00001F64 */
  3153. label00001F5A:
  3154. 00001F5A  5247                     addq.w     D7, 1
  3155. label00001F5C:
  3156. 00001F5C  0C47 001E                cmpi.w     D7, 0x1E
  3157. 00001F60  6DE0                     blt        -0x1E /* 00001F42 */
  3158. 00001F62  70FF                     moveq.l    D0, 0xFFFFFFFF
  3159. label00001F64:
  3160. 00001F64  2E1F                     move.l     D7, [A7]+
  3161. 00001F66  4E75                     rts
  3162. fn00001F68:
  3163. 00001F68  4E56 FFFE                link       A6, -0x0002
  3164. 00001F6C  2F07                     move.l     -[A7], D7
  3165. 00001F6E  3E2E 0008                move.w     D7, [A6 + 0x8]
  3166. 00001F72  3F07                     move.w     -[A7], D7
  3167. 00001F74  4EBA FF90                jsr        [PC - 0x70 /* 00001F06 */]
  3168. 00001F78  548F                     addq.l     A7, 2
  3169. 00001F7A  4A40                     tst.w      D0
  3170. 00001F7C  6704                     beq        +0x6 /* 00001F82 */
  3171. 00001F7E  70FF                     moveq.l    D0, 0xFFFFFFFF
  3172. 00001F80  6058                     bra        +0x5A /* 00001FDA */
  3173. label00001F82:
  3174. 00001F82  7001                     moveq.l    D0, 0x01
  3175. 00001F84  1B40 A26C                move.b     [A5 - 0x5D94], D0
  3176. 00001F88  3007                     move.w     D0, D7
  3177. 00001F8A  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3178. 00001F8C  0012 41ED                ori.b      [A2], 0xED
  3179. 00001F90  A038                     trap       WriteParam
  3180. 00001F92  D1C0                     add.l      A0, D0
  3181. 00001F94  4850                     pea.l      [A0]
  3182. 00001F96  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  3183. 00001F9A  3F3C 0001                move.w     -[A7], 0x1
  3184. 00001F9E  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3185. 00001FA2  206E 0010                movea.l    A0, [A6 + 0x10]
  3186. 00001FA6  4E90                     jsr        [A0]
  3187. 00001FA8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3188. 00001FAC  3D40 FFFE                move.w     [A6 - 0x2], D0
  3189. 00001FB0  4A40                     tst.w      D0
  3190. 00001FB2  6706                     beq        +0x8 /* 00001FBA */
  3191. 00001FB4  302E FFFE                move.w     D0, [A6 - 0x2]
  3192. 00001FB8  6020                     bra        +0x22 /* 00001FDA */
  3193. label00001FBA:
  3194. 00001FBA  3007                     move.w     D0, D7
  3195. 00001FBC  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3196. 00001FBE  0012 41ED                ori.b      [A2], 0xED
  3197. 00001FC2  A038                     trap       WriteParam
  3198. 00001FC4  D1C0                     add.l      A0, D0
  3199. 00001FC6  0C68 FFD9 0002           cmpi.w     [A0 + 0x2], 0xFFD9
  3200. 00001FCC  6604                     bne        +0x6 /* 00001FD2 */
  3201. 00001FCE  7000                     moveq.l    D0, 0x00
  3202. 00001FD0  6008                     bra        +0xA /* 00001FDA */
  3203. label00001FD2:
  3204. 00001FD2  7005                     moveq.l    D0, 0x05
  3205. 00001FD4  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3206. 00001FD8  70FF                     moveq.l    D0, 0xFFFFFFFF
  3207. label00001FDA:
  3208. 00001FDA  2E1F                     move.l     D7, [A7]+
  3209. 00001FDC  4E5E                     unlink     A6
  3210. 00001FDE  4E75                     rts
  3211. 00001FE0  4E56 0000                link       A6, 0
  3212. 00001FE4  2F0C                     move.l     -[A7], A4
  3213. 00001FE6  286E 0008                movea.l    A4, [A6 + 0x8]
  3214. 00001FEA  200C                     move.l     D0, A4
  3215. 00001FEC  6708                     beq        +0xA /* 00001FF6 */
  3216. 00001FEE  082C 0006 0006           btst.b     [A4 + 0x6], 0x6
  3217. 00001FF4  6604                     bne        +0x6 /* 00001FFA */
  3218. label00001FF6:
  3219. 00001FF6  70FF                     moveq.l    D0, 0xFFFFFFFF
  3220. 00001FF8  6004                     bra        +0x6 /* 00001FFE */
  3221. label00001FFA:
  3222. 00001FFA  302C 0004                move.w     D0, [A4 + 0x4]
  3223. label00001FFE:
  3224. 00001FFE  285F                     movea.l    A4, [A7]+
  3225. 00002000  4E5E                     unlink     A6
  3226. 00002002  4E75                     rts
  3227. fn00002004:
  3228. 00002004  4E56 FFF8                link       A6, -0x0008
  3229. 00002008  4EBA FF32                jsr        [PC - 0xCE /* 00001F3C */]
  3230. 0000200C  0C40 FFFF                cmpi.w     D0, 0xFFFF
  3231. 00002010  660C                     bne        +0xE /* 0000201E */
  3232. 00002012  7018                     moveq.l    D0, 0x18
  3233. 00002014  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3234. 00002018  70FF                     moveq.l    D0, 0xFFFFFFFF
  3235. 0000201A  6000 0050                bra        +0x52 /* 0000206C */
  3236. label0000201E:
  3237. 0000201E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3238. 00002022  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  3239. 00002026  4EBA FD7C                jsr        [PC - 0x284 /* 00001DA4 */]
  3240. 0000202A  5C8F                     addq.l     A7, 6
  3241. 0000202C  2D40 FFFC                move.l     [A6 - 0x4], D0
  3242. 00002030  4A80                     tst.l      D0
  3243. 00002032  6604                     bne        +0x6 /* 00002038 */
  3244. 00002034  70FF                     moveq.l    D0, 0xFFFFFFFF
  3245. 00002036  6034                     bra        +0x36 /* 0000206C */
  3246. label00002038:
  3247. 00002038  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3248. 0000203C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3249. 00002040  4EAD 016A                jsr        [A5 + 0x16A]
  3250. 00002044  508F                     addq.l     A7, 8
  3251. 00002046  2D40 FFF8                move.l     [A6 - 0x8], D0
  3252. 0000204A  4A80                     tst.l      D0
  3253. 0000204C  6616                     bne        +0x18 /* 00002064 */
  3254. 0000204E  0C6D FFD5 A266           cmpi.w     [A5 - 0x5D9A], 0xFFD5
  3255. 00002054  6704                     beq        +0x6 /* 0000205A */
  3256. 00002056  700D                     moveq.l    D0, 0x0D
  3257. 00002058  6002                     bra        +0x4 /* 0000205C */
  3258. label0000205A:
  3259. 0000205A  7002                     moveq.l    D0, 0x02
  3260. label0000205C:
  3261. 0000205C  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3262. 00002060  70FF                     moveq.l    D0, 0xFFFFFFFF
  3263. 00002062  6008                     bra        +0xA /* 0000206C */
  3264. label00002064:
  3265. 00002064  206E FFF8                movea.l    A0, [A6 - 0x8]
  3266. 00002068  3028 0004                move.w     D0, [A0 + 0x4]
  3267. label0000206C:
  3268. 0000206C  4E5E                     unlink     A6
  3269. 0000206E  4E75                     rts
  3270. fn00002070:
  3271. 00002070  4E56 0000                link       A6, 0
  3272. 00002074  2F07                     move.l     -[A7], D7
  3273. 00002076  3E2E 0008                move.w     D7, [A6 + 0x8]
  3274. 0000207A  3F07                     move.w     -[A7], D7
  3275. 0000207C  4EBA FE88                jsr        [PC - 0x178 /* 00001F06 */]
  3276. 00002080  548F                     addq.l     A7, 2
  3277. 00002082  4A40                     tst.w      D0
  3278. 00002084  6704                     beq        +0x6 /* 0000208A */
  3279. 00002086  70FF                     moveq.l    D0, 0xFFFFFFFF
  3280. 00002088  6014                     bra        +0x16 /* 0000209E */
  3281. label0000208A:
  3282. 0000208A  3007                     move.w     D0, D7
  3283. 0000208C  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3284. 0000208E  0012 41ED                ori.b      [A2], 0xED
  3285. 00002092  A038                     trap       WriteParam
  3286. 00002094  D1C0                     add.l      A0, D0
  3287. 00002096  4850                     pea.l      [A0]
  3288. 00002098  4EAD 0162                jsr        [A5 + 0x162]
  3289. 0000209C  588F                     addq.l     A7, 4
  3290. label0000209E:
  3291. 0000209E  2E1F                     move.l     D7, [A7]+
  3292. 000020A0  4E5E                     unlink     A6
  3293. 000020A2  4E75                     rts
  3294. fn000020A4:
  3295. 000020A4  4E56 0000                link       A6, 0
  3296. 000020A8  486D 017A                pea.l      [A5 + 0x17A]
  3297. 000020AC  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  3298. 000020B0  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3299. 000020B4  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3300. 000020B8  4EBA FEAE                jsr        [PC - 0x152 /* 00001F68 */]
  3301. 000020BC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3302. 000020C0  4E5E                     unlink     A6
  3303. 000020C2  4E75                     rts
  3304. fn000020C4:
  3305. 000020C4  4E56 0000                link       A6, 0
  3306. 000020C8  486D 0182                pea.l      [A5 + 0x182]
  3307. 000020CC  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  3308. 000020D0  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3309. 000020D4  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3310. 000020D8  4EBA FE8E                jsr        [PC - 0x172 /* 00001F68 */]
  3311. 000020DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3312. 000020E0  4E5E                     unlink     A6
  3313. 000020E2  4E75                     rts
  3314. fn000020E4:
  3315. 000020E4  4E56 0000                link       A6, 0
  3316. 000020E8  48E7 0300                movem.l    -[A7], D6,D7
  3317. 000020EC  3E2E 0008                move.w     D7, [A6 + 0x8]
  3318. 000020F0  3C2E 000E                move.w     D6, [A6 + 0xE]
  3319. 000020F4  3F07                     move.w     -[A7], D7
  3320. 000020F6  4EBA FE0E                jsr        [PC - 0x1F2 /* 00001F06 */]
  3321. 000020FA  548F                     addq.l     A7, 2
  3322. 000020FC  4A40                     tst.w      D0
  3323. 000020FE  6704                     beq        +0x6 /* 00002104 */
  3324. 00002100  70FF                     moveq.l    D0, 0xFFFFFFFF
  3325. 00002102  604E                     bra        +0x50 /* 00002152 */
  3326. label00002104:
  3327. 00002104  0C46 0002                cmpi.w     D6, 0x2
  3328. 00002108  630A                     bls        +0xC /* 00002114 */
  3329. 0000210A  7016                     moveq.l    D0, 0x16
  3330. 0000210C  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3331. 00002110  70FF                     moveq.l    D0, 0xFFFFFFFF
  3332. 00002112  603E                     bra        +0x40 /* 00002152 */
  3333. label00002114:
  3334. 00002114  3007                     move.w     D0, D7
  3335. 00002116  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3336. 00002118  0012 41ED                ori.b      [A2], 0xED
  3337. 0000211C  A038                     trap       WriteParam
  3338. 0000211E  D1C0                     add.l      A0, D0
  3339. 00002120  3F06                     move.w     -[A7], D6
  3340. 00002122  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3341. 00002126  4850                     pea.l      [A0]
  3342. 00002128  4EAD 014A                jsr        [A5 + 0x14A]
  3343. 0000212C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3344. 00002130  4A40                     tst.w      D0
  3345. 00002132  670A                     beq        +0xC /* 0000213E */
  3346. 00002134  7005                     moveq.l    D0, 0x05
  3347. 00002136  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3348. 0000213A  70FF                     moveq.l    D0, 0xFFFFFFFF
  3349. 0000213C  6014                     bra        +0x16 /* 00002152 */
  3350. label0000213E:
  3351. 0000213E  3007                     move.w     D0, D7
  3352. 00002140  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3353. 00002142  0012 41ED                ori.b      [A2], 0xED
  3354. 00002146  A038                     trap       WriteParam
  3355. 00002148  D1C0                     add.l      A0, D0
  3356. 0000214A  4850                     pea.l      [A0]
  3357. 0000214C  4EAD 0142                jsr        [A5 + 0x142]
  3358. 00002150  588F                     addq.l     A7, 4
  3359. label00002152:
  3360. 00002152  4CDF 00C0                movem.l    D7,D6, [A7]+
  3361. 00002156  4E5E                     unlink     A6
  3362. 00002158  4E75                     rts
  3363. 0000215A  4E56 0000                link       A6, 0
  3364. 0000215E  302E 0008                move.w     D0, [A6 + 0x8]
  3365. 00002162  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  3366. 00002164  0012 41ED                ori.b      [A2], 0xED
  3367. 00002168  A038                     trap       WriteParam
  3368. 0000216A  D1C0                     add.l      A0, D0
  3369. 0000216C  4850                     pea.l      [A0]
  3370. 0000216E  4EAD 0142                jsr        [A5 + 0x142]
  3371. 00002172  588F                     addq.l     A7, 4
  3372. 00002174  4E5E                     unlink     A6
  3373. 00002176  4E75                     rts
  3374. fn00002178:
  3375. 00002178  4E56 FFCE                link       A6, -0x0032
  3376. 0000217C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3377. 00002180  4EAD 0282                jsr        [A5 + 0x282]
  3378. 00002184  588F                     addq.l     A7, 4
  3379. 00002186  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3380. 0000218A  4EAD 0282                jsr        [A5 + 0x282]
  3381. 0000218E  588F                     addq.l     A7, 4
  3382. 00002190  2D6E 0008 FFE0           move.l     [A6 - 0x20], [A6 + 0x8]
  3383. 00002196  426E FFE4                clr.w      [A6 - 0x1C]
  3384. 0000219A  422E FFE8                clr.b      [A6 - 0x18]
  3385. 0000219E  2D6E 000C FFEA           move.l     [A6 - 0x16], [A6 + 0xC]
  3386. 000021A4  4267                     clr.w      -[A7]
  3387. 000021A6  486E FFCE                pea.l      [A6 - 0x32]
  3388. 000021AA  4267                     clr.w      -[A7]
  3389. 000021AC  4EAD 023A                jsr        [A5 + 0x23A]
  3390. 000021B0  301F                     move.w     D0, [A7]+
  3391. 000021B2  4A40                     tst.w      D0
  3392. 000021B4  671E                     beq        +0x20 /* 000021D4 */
  3393. 000021B6  7005                     moveq.l    D0, 0x05
  3394. 000021B8  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3395. 000021BC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3396. 000021C0  4EAD 027A                jsr        [A5 + 0x27A]
  3397. 000021C4  588F                     addq.l     A7, 4
  3398. 000021C6  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3399. 000021CA  4EAD 027A                jsr        [A5 + 0x27A]
  3400. 000021CE  588F                     addq.l     A7, 4
  3401. 000021D0  70FF                     moveq.l    D0, 0xFFFFFFFF
  3402. 000021D2  6016                     bra        +0x18 /* 000021EA */
  3403. label000021D4:
  3404. 000021D4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3405. 000021D8  4EAD 027A                jsr        [A5 + 0x27A]
  3406. 000021DC  588F                     addq.l     A7, 4
  3407. 000021DE  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3408. 000021E2  4EAD 027A                jsr        [A5 + 0x27A]
  3409. 000021E6  588F                     addq.l     A7, 4
  3410. 000021E8  7000                     moveq.l    D0, 0x00
  3411. label000021EA:
  3412. 000021EA  4E5E                     unlink     A6
  3413. 000021EC  4E75                     rts
  3414. fn000021EE:
  3415. 000021EE  4E56 FFCE                link       A6, -0x0032
  3416. 000021F2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3417. 000021F6  4EAD 0282                jsr        [A5 + 0x282]
  3418. 000021FA  588F                     addq.l     A7, 4
  3419. 000021FC  2D6E 0008 FFE0           move.l     [A6 - 0x20], [A6 + 0x8]
  3420. 00002202  426E FFE4                clr.w      [A6 - 0x1C]
  3421. 00002206  422E FFE8                clr.b      [A6 - 0x18]
  3422. 0000220A  4267                     clr.w      -[A7]
  3423. 0000220C  486E FFCE                pea.l      [A6 - 0x32]
  3424. 00002210  4267                     clr.w      -[A7]
  3425. 00002212  4EAD 0232                jsr        [A5 + 0x232]
  3426. 00002216  301F                     move.w     D0, [A7]+
  3427. 00002218  4A40                     tst.w      D0
  3428. 0000221A  6714                     beq        +0x16 /* 00002230 */
  3429. 0000221C  7005                     moveq.l    D0, 0x05
  3430. 0000221E  3B40 A266                move.w     [A5 - 0x5D9A], D0
  3431. 00002222  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3432. 00002226  4EAD 027A                jsr        [A5 + 0x27A]
  3433. 0000222A  588F                     addq.l     A7, 4
  3434. 0000222C  70FF                     moveq.l    D0, 0xFFFFFFFF
  3435. 0000222E  600C                     bra        +0xE /* 0000223C */
  3436. label00002230:
  3437. 00002230  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3438. 00002234  4EAD 027A                jsr        [A5 + 0x27A]
  3439. 00002238  588F                     addq.l     A7, 4
  3440. 0000223A  7000                     moveq.l    D0, 0x00
  3441. label0000223C:
  3442. 0000223C  4E5E                     unlink     A6
  3443. 0000223E  4E75                     rts
  3444. 00002240  4E56 0000                link       A6, 0
  3445. 00002244  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3446. 00002248  4EBA FFA4                jsr        [PC - 0x5C /* 000021EE */]
  3447. 0000224C  588F                     addq.l     A7, 4
  3448. 0000224E  4E5E                     unlink     A6
  3449. 00002250  4E75                     rts
  3450. fn00002252:
  3451. 00002252  4E56 0000                link       A6, 0
  3452. 00002256  303C 0100                move.w     D0, 0x100
  3453. 0000225A  806E 000C                or.w       D0, [A6 + 0xC]
  3454. 0000225E  3F00                     move.w     -[A7], D0
  3455. 00002260  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3456. 00002264  4EBA FD9E                jsr        [PC - 0x262 /* 00002004 */]
  3457. 00002268  5C8F                     addq.l     A7, 6
  3458. 0000226A  4E5E                     unlink     A6
  3459. 0000226C  4E75                     rts
  3460. 0000226E  4E56 0000                link       A6, 0
  3461. 00002272  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  3462. 00002276  286E 0008                movea.l    A4, [A6 + 0x8]
  3463. 0000227A  244C                     movea.l    A2, A4
  3464. 0000227C  6000 0046                bra        +0x48 /* 000022C4 */
  3465. label00002280:
  3466. 00002280  0C14 0022                cmpi.b     [A4], 0x22 /* '"' */
  3467. 00002284  6706                     beq        +0x8 /* 0000228C */
  3468. 00002286  0C14 0027                cmpi.b     [A4], 0x27 /* ''' */
  3469. 0000228A  6616                     bne        +0x18 /* 000022A2 */
  3470. label0000228C:
  3471. 0000228C  41D4                     lea.l      A0, [A4]
  3472. 0000228E  528C                     addq.l     A4, 1
  3473. 00002290  1E10                     move.b     D7, [A0]
  3474. 00002292  6002                     bra        +0x4 /* 00002296 */
  3475. label00002294:
  3476. 00002294  528C                     addq.l     A4, 1
  3477. label00002296:
  3478. 00002296  4A14                     tst.b      [A4]
  3479. 00002298  6704                     beq        +0x6 /* 0000229E */
  3480. 0000229A  BE14                     cmp.b      D7, [A4]
  3481. 0000229C  66F6                     bne        -0x8 /* 00002294 */
  3482. label0000229E:
  3483. 0000229E  528C                     addq.l     A4, 1
  3484. 000022A0  6022                     bra        +0x24 /* 000022C4 */
  3485. label000022A2:
  3486. 000022A2  0C14 005C                cmpi.b     [A4], 0x5C /* '\\' */
  3487. 000022A6  6604                     bne        +0x6 /* 000022AC */
  3488. 000022A8  528C                     addq.l     A4, 1
  3489. 000022AA  6018                     bra        +0x1A /* 000022C4 */
  3490. label000022AC:
  3491. 000022AC  266E 000C                movea.l    A3, [A6 + 0xC]
  3492. 000022B0  6002                     bra        +0x4 /* 000022B4 */
  3493. label000022B2:
  3494. 000022B2  528B                     addq.l     A3, 1
  3495. label000022B4:
  3496. 000022B4  4A13                     tst.b      [A3]
  3497. 000022B6  6706                     beq        +0x8 /* 000022BE */
  3498. 000022B8  1014                     move.b     D0, [A4]
  3499. 000022BA  B013                     cmp.b      D0, [A3]
  3500. 000022BC  66F4                     bne        -0xA /* 000022B2 */
  3501. label000022BE:
  3502. 000022BE  4A13                     tst.b      [A3]
  3503. 000022C0  6606                     bne        +0x8 /* 000022C8 */
  3504. 000022C2  528C                     addq.l     A4, 1
  3505. label000022C4:
  3506. 000022C4  4A14                     tst.b      [A4]
  3507. 000022C6  66B8                     bne        -0x46 /* 00002280 */
  3508. label000022C8:
  3509. 000022C8  200C                     move.l     D0, A4
  3510. 000022CA  908A                     sub.l      D0, A2
  3511. 000022CC  4CDF 1C80                movem.l    A4,A3,A2,D7, [A7]+
  3512. 000022D0  4E5E                     unlink     A6
  3513. 000022D2  4E75                     rts
  3514. 000022D4  5354                     subq.w     [A4], 1
  3515. 000022D6  4341                     chk.w      D1, D1
  3516. 000022D8  5247                     addq.w     D7, 1
  3517. 000022DA  2020                     move.l     D0, -[A0]
  3518. fn000022DC:
  3519. 000022DC  4E56 0000                link       A6, 0
  3520. 000022E0  48E7 0108                movem.l    -[A7], D7,A4
  3521. 000022E4  286E 0008                movea.l    A4, [A6 + 0x8]
  3522. 000022E8  601E                     bra        +0x20 /* 00002308 */
  3523. label000022EA:
  3524. 000022EA  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3525. 000022EE  2F0C                     move.l     -[A7], A4
  3526. 000022F0  4EBA 002C                jsr        [PC + 0x2C /* 0000231E */]
  3527. 000022F4  508F                     addq.l     A7, 8
  3528. 000022F6  3E00                     move.w     D7, D0
  3529. 000022F8  4A40                     tst.w      D0
  3530. 000022FA  670A                     beq        +0xC /* 00002306 */
  3531. 000022FC  206E 0010                movea.l    A0, [A6 + 0x10]
  3532. 00002300  208C                     move.l     [A0], A4
  3533. 00002302  3007                     move.w     D0, D7
  3534. 00002304  6008                     bra        +0xA /* 0000230E */
  3535. label00002306:
  3536. 00002306  528C                     addq.l     A4, 1
  3537. label00002308:
  3538. 00002308  4A14                     tst.b      [A4]
  3539. 0000230A  66DE                     bne        -0x20 /* 000022EA */
  3540. 0000230C  7000                     moveq.l    D0, 0x00
  3541. label0000230E:
  3542. 0000230E  4CDF 1080                movem.l    A4,D7, [A7]+
  3543. 00002312  4E5E                     unlink     A6
  3544. 00002314  4E75                     rts
  3545. 00002316  5354                     subq.w     [A4], 1
  3546. 00002318  4350                     chk.w      D1, [A0]
  3547. 0000231A  4D20                     .invalid   6, -[A0] // invalid opcode 4 with b == 4
  3548. 0000231C  2020                     move.l     D0, -[A0]
  3549. fn0000231E:
  3550. 0000231E  4E56 FFFC                link       A6, -0x0004
  3551. 00002322  48E7 0118                movem.l    -[A7], D7,A3,A4
  3552. 00002326  266E 0008                movea.l    A3, [A6 + 0x8]
  3553. 0000232A  286E 000C                movea.l    A4, [A6 + 0xC]
  3554. 0000232E  2D4B FFFC                move.l     [A6 - 0x4], A3
  3555. 00002332  6000 006A                bra        +0x6C /* 0000239E */
  3556. label00002336:
  3557. 00002336  0C14 003F                cmpi.b     [A4], 0x3F /* '?' */
  3558. 0000233A  6608                     bne        +0xA /* 00002344 */
  3559. 0000233C  528B                     addq.l     A3, 1
  3560. 0000233E  528C                     addq.l     A4, 1
  3561. 00002340  6000 005C                bra        +0x5E /* 0000239E */
  3562. label00002344:
  3563. 00002344  41D4                     lea.l      A0, [A4]
  3564. 00002346  528C                     addq.l     A4, 1
  3565. 00002348  1E10                     move.b     D7, [A0]
  3566. 0000234A  0C07 005C                cmpi.b     D7, 0x5C /* '\\' */
  3567. 0000234E  6600 0020                bne        +0x22 /* 00002370 */
  3568. 00002352  1014                     move.b     D0, [A4]
  3569. 00002354  4880                     ext.w      D0
  3570. 00002356  4EAD 002A                jsr        [A5 + 0x2A]
  3571. 0000235A  0003 000E                ori.b      D3, 0xE
  3572. 0000235E  002A 000A 002B           ori.b      [A2 + 0x2B], 0xA /* '\n' */
  3573. 00002364  0006 003F                ori.b      D6, 0x3F /* '?' */
  3574. 00002368  0036 41D4 528C           ori.b      [A6 + D5.w * 2 - 0x74], 0xD4
  3575. 0000236E  1E10                     move.b     D7, [A0]
  3576. label00002370:
  3577. 00002370  0C14 002A                cmpi.b     [A4], 0x2A /* '*' */
  3578. 00002374  660C                     bne        +0xE /* 00002382 */
  3579. 00002376  528C                     addq.l     A4, 1
  3580. 00002378  6002                     bra        +0x4 /* 0000237C */
  3581. label0000237A:
  3582. 0000237A  528B                     addq.l     A3, 1
  3583. label0000237C:
  3584. 0000237C  BE13                     cmp.b      D7, [A3]
  3585. 0000237E  67FA                     beq        -0x4 /* 0000237A */
  3586. 00002380  601C                     bra        +0x1E /* 0000239E */
  3587. label00002382:
  3588. 00002382  0C14 002B                cmpi.b     [A4], 0x2B /* '+' */
  3589. 00002386  6610                     bne        +0x12 /* 00002398 */
  3590. 00002388  528C                     addq.l     A4, 1
  3591. 0000238A  BE13                     cmp.b      D7, [A3]
  3592. 0000238C  6704                     beq        +0x6 /* 00002392 */
  3593. 0000238E  6012                     bra        +0x14 /* 000023A2 */
  3594. label00002390:
  3595. 00002390  528B                     addq.l     A3, 1
  3596. label00002392:
  3597. 00002392  BE13                     cmp.b      D7, [A3]
  3598. 00002394  67FA                     beq        -0x4 /* 00002390 */
  3599. 00002396  6006                     bra        +0x8 /* 0000239E */
  3600. label00002398:
  3601. 00002398  BE13                     cmp.b      D7, [A3]
  3602. 0000239A  6606                     bne        +0x8 /* 000023A2 */
  3603. 0000239C  528B                     addq.l     A3, 1
  3604. label0000239E:
  3605. 0000239E  4A14                     tst.b      [A4]
  3606. 000023A0  6694                     bne        -0x6A /* 00002336 */
  3607. label000023A2:
  3608. 000023A2  200B                     move.l     D0, A3
  3609. 000023A4  90AE FFFC                sub.l      D0, [A6 - 0x4]
  3610. 000023A8  4CDF 1880                movem.l    A4,A3,D7, [A7]+
  3611. 000023AC  4E5E                     unlink     A6
  3612. 000023AE  4E75                     rts
  3613. 000023B0  5354                     subq.w     [A4], 1
  3614. 000023B2  4350                     chk.w      D1, [A0]
  3615. 000023B4  4D41                     chk.w      D6, D1
  3616. 000023B6  2020                     move.l     D0, -[A0]
  3617. 000023B8  4E56 0000                link       A6, 0
  3618. 000023BC  48E7 0118                movem.l    -[A7], D7,A3,A4
  3619. 000023C0  286E 0008                movea.l    A4, [A6 + 0x8]
  3620. 000023C4  266E 000C                movea.l    A3, [A6 + 0xC]
  3621. 000023C8  3E2E 0010                move.w     D7, [A6 + 0x10]
  3622. 000023CC  0C14 0061                cmpi.b     [A4], 0x61 /* 'a' */
  3623. 000023D0  6D06                     blt        +0x8 /* 000023D8 */
  3624. 000023D2  0C14 007A                cmpi.b     [A4], 0x7A /* 'z' */
  3625. 000023D6  6F20                     ble        +0x22 /* 000023F8 */
  3626. label000023D8:
  3627. 000023D8  0C14 0041                cmpi.b     [A4], 0x41 /* 'A' */
  3628. 000023DC  6D00 003E                blt        +0x40 /* 0000241C */
  3629. 000023E0  0C14 005A                cmpi.b     [A4], 0x5A /* 'Z' */
  3630. 000023E4  6F12                     ble        +0x14 /* 000023F8 */
  3631. 000023E6  6034                     bra        +0x36 /* 0000241C */
  3632. label000023E8:
  3633. 000023E8  0C47 0001                cmpi.w     D7, 0x1
  3634. 000023EC  6F08                     ble        +0xA /* 000023F6 */
  3635. 000023EE  5347                     subq.w     D7, 1
  3636. 000023F0  41D3                     lea.l      A0, [A3]
  3637. 000023F2  528B                     addq.l     A3, 1
  3638. 000023F4  1094                     move.b     [A0], [A4]
  3639. label000023F6:
  3640. 000023F6  528C                     addq.l     A4, 1
  3641. label000023F8:
  3642. 000023F8  0C14 0061                cmpi.b     [A4], 0x61 /* 'a' */
  3643. 000023FC  6D06                     blt        +0x8 /* 00002404 */
  3644. 000023FE  0C14 007A                cmpi.b     [A4], 0x7A /* 'z' */
  3645. 00002402  6FE4                     ble        -0x1A /* 000023E8 */
  3646. label00002404:
  3647. 00002404  0C14 0041                cmpi.b     [A4], 0x41 /* 'A' */
  3648. 00002408  6D06                     blt        +0x8 /* 00002410 */
  3649. 0000240A  0C14 005A                cmpi.b     [A4], 0x5A /* 'Z' */
  3650. 0000240E  6FD8                     ble        -0x26 /* 000023E8 */
  3651. label00002410:
  3652. 00002410  0C14 0030                cmpi.b     [A4], 0x30 /* '0' */
  3653. 00002414  6D06                     blt        +0x8 /* 0000241C */
  3654. 00002416  0C14 0039                cmpi.b     [A4], 0x39 /* '9' */
  3655. 0000241A  6FCC                     ble        -0x32 /* 000023E8 */
  3656. label0000241C:
  3657. 0000241C  4213                     clr.b      [A3]
  3658. 0000241E  200C                     move.l     D0, A4
  3659. 00002420  4CDF 1880                movem.l    A4,A3,D7, [A7]+
  3660. 00002424  4E5E                     unlink     A6
  3661. 00002426  4E75                     rts
  3662. 00002428  5354                     subq.w     [A4], 1
  3663. 0000242A  5053                     addq.w     [A3], 8
  3664. 0000242C  594D                     subq.w     A5, 4
  3665. 0000242E  2020                     move.l     D0, -[A0]
  3666. fn00002430:
  3667. 00002430  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  3668. label00002436:
  3669. 00002436  4A10                     tst.b      [A0]
  3670. 00002438  6712                     beq        +0x14 /* 0000244C */
  3671. 0000243A  2449                     movea.l    A2, A1
  3672. label0000243C:
  3673. 0000243C  4A12                     tst.b      [A2]
  3674. 0000243E  6708                     beq        +0xA /* 00002448 */
  3675. 00002440  B508                     cmpm.b     [A2]+, [A0]+
  3676. 00002442  5388                     subq.l     A0, 1
  3677. 00002444  6706                     beq        +0x8 /* 0000244C */
  3678. 00002446  60F4                     bra        -0xA /* 0000243C */
  3679. label00002448:
  3680. 00002448  5288                     addq.l     A0, 1
  3681. 0000244A  60EA                     bra        -0x14 /* 00002436 */
  3682. label0000244C:
  3683. 0000244C  2008                     move.l     D0, A0
  3684. 0000244E  90AF 0004                sub.l      D0, [A7 + 0x4]
  3685. 00002452  4E75                     rts
  3686. fn00002454:
  3687. 00002454  4CEF 0300 0004           movem.l    A1,A0, [A7 + 0x4]
  3688. 0000245A  2008                     move.l     D0, A0
  3689. 0000245C  322F 000C                move.w     D1, [A7 + 0xC]
  3690. 00002460  6E02                     bgt        +0x4 /* 00002464 */
  3691. label00002462:
  3692. 00002462  6012                     bra        +0x14 /* 00002476 */
  3693. label00002464:
  3694. 00002464  10D9                     move.b     [A0]+, [A1]+
  3695. 00002466  6706                     beq        +0x8 /* 0000246E */
  3696. 00002468  5341                     subq.w     D1, 1
  3697. 0000246A  6EF8                     bgt        -0x6 /* 00002464 */
  3698. 0000246C  67F4                     beq        -0xA /* 00002462 */
  3699. label0000246E:
  3700. 0000246E  5341                     subq.w     D1, 1
  3701. 00002470  67F0                     beq        -0xE /* 00002462 */
  3702. 00002472  4218                     clr.b      [A0]+
  3703. 00002474  60F8                     bra        -0x6 /* 0000246E */
  3704. label00002476:
  3705. 00002476  4E75                     rts
  3706. 00002478  4E56 0000                link       A6, 0
  3707. 0000247C  2F07                     move.l     -[A7], D7
  3708. 0000247E  2F2E 0012                move.l     -[A7], [A6 + 0x12]
  3709. 00002482  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3710. 00002486  4EBA FFA8                jsr        [PC - 0x58 /* 00002430 */]
  3711. 0000248A  508F                     addq.l     A7, 8
  3712. 0000248C  3E00                     move.w     D7, D0
  3713. 0000248E  BE6E 0010                cmp.w      D7, [A6 + 0x10]
  3714. 00002492  6C06                     bge        +0x8 /* 0000249A */
  3715. 00002494  3047                     movea.w    A0, D7
  3716. 00002496  2008                     move.l     D0, A0
  3717. 00002498  6006                     bra        +0x8 /* 000024A0 */
  3718. label0000249A:
  3719. 0000249A  302E 0010                move.w     D0, [A6 + 0x10]
  3720. 0000249E  5340                     subq.w     D0, 1
  3721. label000024A0:
  3722. 000024A0  3E00                     move.w     D7, D0
  3723. 000024A2  3F00                     move.w     -[A7], D0
  3724. 000024A4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3725. 000024A8  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3726. 000024AC  4EBA FFA6                jsr        [PC - 0x5A /* 00002454 */]
  3727. 000024B0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3728. 000024B4  3047                     movea.w    A0, D7
  3729. 000024B6  D1EE 000C                add.l      A0, [A6 + 0xC]
  3730. 000024BA  4210                     clr.b      [A0]
  3731. 000024BC  3047                     movea.w    A0, D7
  3732. 000024BE  D1EE 0008                add.l      A0, [A6 + 0x8]
  3733. 000024C2  2008                     move.l     D0, A0
  3734. 000024C4  2E1F                     move.l     D7, [A7]+
  3735. 000024C6  4E5E                     unlink     A6
  3736. 000024C8  4E75                     rts
  3737. 000024CA  5354                     subq.w     [A4], 1
  3738. 000024CC  5054                     addq.w     [A4], 8
  3739. 000024CE  4F4B                     chk.w      D7, A3
  3740. 000024D0  2020                     move.l     D0, -[A0]
  3741. fn000024D2:
  3742. 000024D2  4E56 FFFA                link       A6, -0x0006
  3743. 000024D6  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  3744. 000024DC  206E FFFC                movea.l    A0, [A6 - 0x4]
  3745. 000024E0  1D50 FFFB                move.b     [A6 - 0x5], [A0]
  3746. 000024E4  206E FFFC                movea.l    A0, [A6 - 0x4]
  3747. 000024E8  226E FFFC                movea.l    A1, [A6 - 0x4]
  3748. 000024EC  12A8 0001                move.b     [A1], [A0 + 0x1]
  3749. 000024F0  206E FFFC                movea.l    A0, [A6 - 0x4]
  3750. 000024F4  116E FFFB 0001           move.b     [A0 + 0x1], [A6 - 0x5]
  3751. 000024FA  4E5E                     unlink     A6
  3752. 000024FC  4E75                     rts
  3753. 000024FE  5357                     subq.w     [A7], 1
  3754. 00002500  4150                     chk.w      D0, [A0]
  3755. 00002502  4259                     clr.w      [A1]+
  3756. 00002504  5445                     addq.w     D5, 2
  3757. fn00002506:
  3758. 00002506  4E56 FFF8                link       A6, -0x0008
  3759. 0000250A  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  3760. 00002510  206E FFFC                movea.l    A0, [A6 - 0x4]
  3761. 00002514  1D50 FFFB                move.b     [A6 - 0x5], [A0]
  3762. 00002518  206E FFFC                movea.l    A0, [A6 - 0x4]
  3763. 0000251C  1D68 0001 FFFA           move.b     [A6 - 0x6], [A0 + 0x1]
  3764. 00002522  206E FFFC                movea.l    A0, [A6 - 0x4]
  3765. 00002526  1D68 0002 FFF9           move.b     [A6 - 0x7], [A0 + 0x2]
  3766. 0000252C  206E FFFC                movea.l    A0, [A6 - 0x4]
  3767. 00002530  1D68 0003 FFF8           move.b     [A6 - 0x8], [A0 + 0x3]
  3768. 00002536  206E FFFC                movea.l    A0, [A6 - 0x4]
  3769. 0000253A  10AE FFF8                move.b     [A0], [A6 - 0x8]
  3770. 0000253E  206E FFFC                movea.l    A0, [A6 - 0x4]
  3771. 00002542  116E FFF9 0001           move.b     [A0 + 0x1], [A6 - 0x7]
  3772. 00002548  206E FFFC                movea.l    A0, [A6 - 0x4]
  3773. 0000254C  116E FFFA 0002           move.b     [A0 + 0x2], [A6 - 0x6]
  3774. 00002552  206E FFFC                movea.l    A0, [A6 - 0x4]
  3775. 00002556  116E FFFB 0003           move.b     [A0 + 0x3], [A6 - 0x5]
  3776. 0000255C  4E5E                     unlink     A6
  3777. 0000255E  4E75                     rts
  3778. 00002560  5357                     subq.w     [A7], 1
  3779. 00002562  4150                     chk.w      D0, [A0]
  3780. 00002564  4C42 5954                movem.l    A6,A4,A3,A0,D6,D4,D2, D2
  3781. fn00002568:
  3782. 00002568  4E56 FFFE                link       A6, -0x0002
  3783. 0000256C  4AAD A7AC                tst.l      [A5 - 0x5854]
  3784. 00002570  6E08                     bgt        +0xA /* 0000257A */
  3785. 00002572  426D A794                clr.w      [A5 - 0x586C]
  3786. 00002576  7000                     moveq.l    D0, 0x00
  3787. 00002578  6048                     bra        +0x4A /* 000025C2 */
  3788. label0000257A:
  3789. 0000257A  7000                     moveq.l    D0, 0x00
  3790. 0000257C  302D A788                move.w     D0, [A5 - 0x5878]
  3791. 00002580  B0AD A7AC                cmp.l      D0, [A5 - 0x5854]
  3792. 00002584  6C08                     bge        +0xA /* 0000258E */
  3793. 00002586  3D6D A788 FFFE           move.w     [A6 - 0x2], [A5 - 0x5878]
  3794. 0000258C  6006                     bra        +0x8 /* 00002594 */
  3795. label0000258E:
  3796. 0000258E  3D6D A7AE FFFE           move.w     [A6 - 0x2], [A5 - 0x5852]
  3797. label00002594:
  3798. 00002594  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3799. 00002598  2F2D A78C                move.l     -[A7], [A5 - 0x5874]
  3800. 0000259C  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  3801. 000025A0  4EBA FB02                jsr        [PC - 0x4FE /* 000020A4 */]
  3802. 000025A4  508F                     addq.l     A7, 8
  3803. 000025A6  3B40 A794                move.w     [A5 - 0x586C], D0
  3804. 000025AA  302D A794                move.w     D0, [A5 - 0x586C]
  3805. 000025AE  48C0                     ext.l      D0
  3806. 000025B0  91AD A7AC                sub.l      [A5 - 0x5854], D0
  3807. 000025B4  2B6D A78C A790           move.l     [A5 - 0x5870], [A5 - 0x5874]
  3808. 000025BA  302D A794                move.w     D0, [A5 - 0x586C]
  3809. 000025BE  536D A794                subq.w     [A5 - 0x586C], 1
  3810. label000025C2:
  3811. 000025C2  4E5E                     unlink     A6
  3812. 000025C4  4E75                     rts
  3813. 000025C6  4649                     not.w      A1
  3814. 000025C8  4C4C 4255                movem.l    A6,A1,D6,D4,D2,D0, A4
  3815. 000025CC  4646                     not.w      D6
  3816. fn000025CE:
  3817. 000025CE  4E56 0000                link       A6, 0
  3818. 000025D2  52AD A778                addq.l     [A5 - 0x5888], 1
  3819. 000025D6  202D A77C                move.l     D0, [A5 - 0x5884]
  3820. 000025DA  B0AD A778                cmp.l      D0, [A5 - 0x5888]
  3821. 000025DE  6616                     bne        +0x18 /* 000025F6 */
  3822. 000025E0  42AD A778                clr.l      [A5 - 0x5888]
  3823. 000025E4  526D A784                addq.w     [A5 - 0x587C], 1
  3824. 000025E8  3F2D A784                move.w     -[A7], [A5 - 0x587C]
  3825. 000025EC  3F2D A786                move.w     -[A7], [A5 - 0x587A]
  3826. 000025F0  4EBA 14F0                jsr        [PC + 0x14F0 /* 00003AE2 */]
  3827. 000025F4  588F                     addq.l     A7, 4
  3828. label000025F6:
  3829. 000025F6  302D A794                move.w     D0, [A5 - 0x586C]
  3830. 000025FA  536D A794                subq.w     [A5 - 0x586C], 1
  3831. 000025FE  4A40                     tst.w      D0
  3832. 00002600  660C                     bne        +0xE /* 0000260E */
  3833. 00002602  4EBA FF64                jsr        [PC - 0x9C /* 00002568 */]
  3834. 00002606  4A40                     tst.w      D0
  3835. 00002608  6604                     bne        +0x6 /* 0000260E */
  3836. 0000260A  7000                     moveq.l    D0, 0x00
  3837. 0000260C  6014                     bra        +0x16 /* 00002622 */
  3838. label0000260E:
  3839. 0000260E  206D A790                movea.l    A0, [A5 - 0x5870]
  3840. 00002612  52AD A790                addq.l     [A5 - 0x5870], 1
  3841. 00002616  226E 0008                movea.l    A1, [A6 + 0x8]
  3842. 0000261A  7000                     moveq.l    D0, 0x00
  3843. 0000261C  1010                     move.b     D0, [A0]
  3844. 0000261E  3280                     move.w     [A1], D0
  3845. 00002620  7008                     moveq.l    D0, 0x08
  3846. label00002622:
  3847. 00002622  4E5E                     unlink     A6
  3848. 00002624  4E75                     rts
  3849. 00002626  5245                     addq.w     D5, 1
  3850. 00002628  4144                     chk.w      D0, D4
  3851. 0000262A  4259                     clr.w      [A1]+
  3852. 0000262C  5445                     addq.w     D5, 2
  3853. fn0000262E:
  3854. 0000262E  4E56 FFFC                link       A6, -0x0004
  3855. 00002632  48E7 0300                movem.l    -[A7], D6,D7
  3856. 00002636  3E2E 0008                move.w     D7, [A6 + 0x8]
  3857. 0000263A  3C2D A796                move.w     D6, [A5 - 0x586A]
  3858. 0000263E  3D6D A798 FFFC           move.w     [A6 - 0x4], [A5 - 0x5868]
  3859. 00002644  9E6D A798                sub.w      D7, [A5 - 0x5868]
  3860. 00002648  486D A796                pea.l      [A5 - 0x586A]
  3861. 0000264C  4EBA FF80                jsr        [PC - 0x80 /* 000025CE */]
  3862. 00002650  588F                     addq.l     A7, 4
  3863. 00002652  3B40 A798                move.w     [A5 - 0x5868], D0
  3864. 00002656  486E FFFE                pea.l      [A6 - 0x2]
  3865. 0000265A  4EBA FF72                jsr        [PC - 0x8E /* 000025CE */]
  3866. 0000265E  588F                     addq.l     A7, 4
  3867. 00002660  D16D A798                add.w      [A5 - 0x5868], D0
  3868. 00002664  302E FFFE                move.w     D0, [A6 - 0x2]
  3869. 00002668  E148                     lsl        D0.w, 8
  3870. 0000266A  816D A796                or.w       [A5 - 0x586A], D0
  3871. 0000266E  4A6D A798                tst.w      [A5 - 0x5868]
  3872. 00002672  6606                     bne        +0x8 /* 0000267A */
  3873. 00002674  7001                     moveq.l    D0, 0x01
  3874. 00002676  1B40 A79A                move.b     [A5 - 0x5866], D0
  3875. label0000267A:
  3876. 0000267A  3007                     move.w     D0, D7
  3877. 0000267C  48C0                     ext.l      D0
  3878. 0000267E  D080                     add.l      D0, D0
  3879. 00002680  41ED F6EE                lea.l      A0, [A5 - 0x912]
  3880. 00002684  D1C0                     add.l      A0, D0
  3881. 00002686  302D A796                move.w     D0, [A5 - 0x586A]
  3882. 0000268A  C050                     and.w      D0, [A0]
  3883. 0000268C  322E FFFC                move.w     D1, [A6 - 0x4]
  3884. 00002690  E368                     lsl        D0.w, D1
  3885. 00002692  8046                     or.w       D0, D6
  3886. 00002694  3C00                     move.w     D6, D0
  3887. 00002696  302D A796                move.w     D0, [A5 - 0x586A]
  3888. 0000269A  EE68                     lsr        D0.w, D7
  3889. 0000269C  3B40 A796                move.w     [A5 - 0x586A], D0
  3890. 000026A0  9F6D A798                sub.w      [A5 - 0x5868], D7
  3891. 000026A4  3006                     move.w     D0, D6
  3892. 000026A6  4CDF 00C0                movem.l    D7,D6, [A7]+
  3893. 000026AA  4E5E                     unlink     A6
  3894. 000026AC  4E75                     rts
  3895. 000026AE  4649                     not.w      A1
  3896. 000026B0  4C4C 4249                movem.l    A6,A1,D6,D3,D0, A4
  3897. 000026B4  5442                     addq.w     D2, 2
  3898. fn000026B6:
  3899. 000026B6  3F2D A7C4                move.w     -[A7], [A5 - 0x583C]
  3900. 000026BA  2F2D A7B8                move.l     -[A7], [A5 - 0x5848]
  3901. 000026BE  4EBA D940                jsr        [PC - 0x26C0 /* 00000000 */]
  3902. 000026C2  5C8F                     addq.l     A7, 6
  3903. 000026C4  3F2D A7C4                move.w     -[A7], [A5 - 0x583C]
  3904. 000026C8  2F2D A7B8                move.l     -[A7], [A5 - 0x5848]
  3905. 000026CC  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  3906. 000026D0  4EBA F9F2                jsr        [PC - 0x60E /* 000020C4 */]
  3907. 000026D4  508F                     addq.l     A7, 8
  3908. 000026D6  306D A7C4                movea.w    A0, [A5 - 0x583C]
  3909. 000026DA  D1ED A7C0                add.l      A0, [A5 - 0x5840]
  3910. 000026DE  2B48 A7C0                move.l     [A5 - 0x5840], A0
  3911. 000026E2  426D A7C4                clr.w      [A5 - 0x583C]
  3912. 000026E6  2B6D A7B8 A7BC           move.l     [A5 - 0x5844], [A5 - 0x5848]
  3913. 000026EC  4E75                     rts
  3914. fn000026EE:
  3915. 000026EE  4E56 FFFC                link       A6, -0x0004
  3916. 000026F2  48E7 0300                movem.l    -[A7], D6,D7
  3917. 000026F6  3E3C 00FF                move.w     D7, 0xFF
  3918. 000026FA  6000 00AC                bra        +0xAE /* 000027A8 */
  3919. label000026FE:
  3920. 000026FE  0C6D 0006 A798           cmpi.w     [A5 - 0x5868], 0x6
  3921. 00002704  6D20                     blt        +0x22 /* 00002726 */
  3922. 00002706  41ED E9CA                lea.l      A0, [A5 - 0x1636]
  3923. 0000270A  D0C7                     add.w      A0, D7
  3924. 0000270C  302D A796                move.w     D0, [A5 - 0x586A]
  3925. 00002710  C06D F6FA                and.w      D0, [A5 - 0x906]
  3926. 00002714  1080                     move.b     [A0], D0
  3927. 00002716  302D A796                move.w     D0, [A5 - 0x586A]
  3928. 0000271A  EC48                     lsr        D0.w, 6
  3929. 0000271C  3B40 A796                move.w     [A5 - 0x586A], D0
  3930. 00002720  5D6D A798                subq.w     [A5 - 0x5868], 6
  3931. 00002724  601A                     bra        +0x1C /* 00002740 */
  3932. label00002726:
  3933. 00002726  41ED E9CA                lea.l      A0, [A5 - 0x1636]
  3934. 0000272A  D0C7                     add.w      A0, D7
  3935. 0000272C  3F3C 0006                move.w     -[A7], 0x6
  3936. 00002730  2D48 FFFC                move.l     [A6 - 0x4], A0
  3937. 00002734  4EBA FEF8                jsr        [PC - 0x108 /* 0000262E */]
  3938. 00002738  548F                     addq.l     A7, 2
  3939. 0000273A  206E FFFC                movea.l    A0, [A6 - 0x4]
  3940. 0000273E  1080                     move.b     [A0], D0
  3941. label00002740:
  3942. 00002740  7C00                     moveq.l    D6, 0x00
  3943. 00002742  6054                     bra        +0x56 /* 00002798 */
  3944. label00002744:
  3945. 00002744  0C6D 0008 A798           cmpi.w     [A5 - 0x5868], 0x8
  3946. 0000274A  6D28                     blt        +0x2A /* 00002774 */
  3947. 0000274C  3007                     move.w     D0, D7
  3948. 0000274E  48C0                     ext.l      D0
  3949. 00002750  ED80                     asl        D0, 6
  3950. 00002752  41ED A9CA                lea.l      A0, [A5 - 0x5636]
  3951. 00002756  D1C0                     add.l      A0, D0
  3952. 00002758  D0C6                     add.w      A0, D6
  3953. 0000275A  302D A796                move.w     D0, [A5 - 0x586A]
  3954. 0000275E  C06D F6FE                and.w      D0, [A5 - 0x902]
  3955. 00002762  1080                     move.b     [A0], D0
  3956. 00002764  302D A796                move.w     D0, [A5 - 0x586A]
  3957. 00002768  E048                     lsr        D0.w, 8
  3958. 0000276A  3B40 A796                move.w     [A5 - 0x586A], D0
  3959. 0000276E  516D A798                subq.w     [A5 - 0x5868], 8
  3960. 00002772  6022                     bra        +0x24 /* 00002796 */
  3961. label00002774:
  3962. 00002774  3007                     move.w     D0, D7
  3963. 00002776  48C0                     ext.l      D0
  3964. 00002778  ED80                     asl        D0, 6
  3965. 0000277A  41ED A9CA                lea.l      A0, [A5 - 0x5636]
  3966. 0000277E  D1C0                     add.l      A0, D0
  3967. 00002780  D0C6                     add.w      A0, D6
  3968. 00002782  3F3C 0008                move.w     -[A7], 0x8
  3969. 00002786  2D48 FFFC                move.l     [A6 - 0x4], A0
  3970. 0000278A  4EBA FEA2                jsr        [PC - 0x15E /* 0000262E */]
  3971. 0000278E  548F                     addq.l     A7, 2
  3972. 00002790  206E FFFC                movea.l    A0, [A6 - 0x4]
  3973. 00002794  1080                     move.b     [A0], D0
  3974. label00002796:
  3975. 00002796  5246                     addq.w     D6, 1
  3976. label00002798:
  3977. 00002798  41ED E9CA                lea.l      A0, [A5 - 0x1636]
  3978. 0000279C  D0C7                     add.w      A0, D7
  3979. 0000279E  7000                     moveq.l    D0, 0x00
  3980. 000027A0  1010                     move.b     D0, [A0]
  3981. 000027A2  BC40                     cmp.w      D6, D0
  3982. 000027A4  659E                     bcs        -0x60 /* 00002744 */
  3983. 000027A6  5347                     subq.w     D7, 1
  3984. label000027A8:
  3985. 000027A8  4A47                     tst.w      D7
  3986. 000027AA  6C00 FF52                bge        -0xAC /* 000026FE */
  3987. 000027AE  4CDF 00C0                movem.l    D7,D6, [A7]+
  3988. 000027B2  4E5E                     unlink     A6
  3989. 000027B4  4E75                     rts
  3990. 000027B6  4C4F 4144                movem.l    A6,A0,D6,D2, A7
  3991. 000027BA  464F                     not.w      A7
  3992. 000027BC  4C4C 4E56                movem.l    A6,A3,A2,A1,D6,D4,D2,D1, A4
  3993. // begin alternate branch 000027BE-000027C2
  3994. fn000027BE:
  3995. 000027BE  4E56 FFF0                link       A6, -0x0010
  3996. // end alternate branch 000027BE-000027C2
  3997. fn000027BE: // (misaligned)
  3998. 000027C0  FFF0                     .extension 0xFF0 // unimplemented
  3999. 000027C2  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  4000. 000027C6  302D A7A2                move.w     D0, [A5 - 0x585E]
  4001. 000027CA  5340                     subq.w     D0, 1
  4002. 000027CC  3B40 A9C8                move.w     [A5 - 0x5638], D0
  4003. 000027D0  426E FFFE                clr.w      [A6 - 0x2]
  4004. 000027D4  7E00                     moveq.l    D7, 0x00
  4005. 000027D6  4EBA FF16                jsr        [PC - 0xEA /* 000026EE */]
  4006. 000027DA  6000 02FA                bra        +0x2FC /* 00002AD6 */
  4007. label000027DE:
  4008. 000027DE  41ED E9CA                lea.l      A0, [A5 - 0x1636]
  4009. 000027E2  D0C7                     add.w      A0, D7
  4010. 000027E4  7000                     moveq.l    D0, 0x00
  4011. 000027E6  1010                     move.b     D0, [A0]
  4012. 000027E8  4A40                     tst.w      D0
  4013. 000027EA  6634                     bne        +0x36 /* 00002820 */
  4014. 000027EC  0C6D 0008 A798           cmpi.w     [A5 - 0x5868], 0x8
  4015. 000027F2  6D1C                     blt        +0x1E /* 00002810 */
  4016. 000027F4  302D A796                move.w     D0, [A5 - 0x586A]
  4017. 000027F8  C06D F6FE                and.w      D0, [A5 - 0x902]
  4018. 000027FC  3C00                     move.w     D6, D0
  4019. 000027FE  302D A796                move.w     D0, [A5 - 0x586A]
  4020. 00002802  E048                     lsr        D0.w, 8
  4021. 00002804  3B40 A796                move.w     [A5 - 0x586A], D0
  4022. 00002808  516D A798                subq.w     [A5 - 0x5868], 8
  4023. 0000280C  6000 00EC                bra        +0xEE /* 000028FA */
  4024. label00002810:
  4025. 00002810  3F3C 0008                move.w     -[A7], 0x8
  4026. 00002814  4EBA FE18                jsr        [PC - 0x1E8 /* 0000262E */]
  4027. 00002818  548F                     addq.l     A7, 2
  4028. 0000281A  3C00                     move.w     D6, D0
  4029. 0000281C  6000 00DC                bra        +0xDE /* 000028FA */
  4030. label00002820:
  4031. 00002820  0C6D 0001 A798           cmpi.w     [A5 - 0x5868], 0x1
  4032. 00002826  6D14                     blt        +0x16 /* 0000283C */
  4033. 00002828  302D A796                move.w     D0, [A5 - 0x586A]
  4034. 0000282C  C06D F6F0                and.w      D0, [A5 - 0x910]
  4035. 00002830  3C00                     move.w     D6, D0
  4036. 00002832  E2ED A796                lsr   .w   [A5 - 0x586A]
  4037. 00002836  536D A798                subq.w     [A5 - 0x5868], 1
  4038. 0000283A  600C                     bra        +0xE /* 00002848 */
  4039. label0000283C:
  4040. 0000283C  3F3C 0001                move.w     -[A7], 0x1
  4041. 00002840  4EBA FDEC                jsr        [PC - 0x214 /* 0000262E */]
  4042. 00002844  548F                     addq.l     A7, 2
  4043. 00002846  3C00                     move.w     D6, D0
  4044. label00002848:
  4045. 00002848  4A46                     tst.w      D6
  4046. 0000284A  6734                     beq        +0x36 /* 00002880 */
  4047. 0000284C  0C6D 0008 A798           cmpi.w     [A5 - 0x5868], 0x8
  4048. 00002852  6D1C                     blt        +0x1E /* 00002870 */
  4049. 00002854  302D A796                move.w     D0, [A5 - 0x586A]
  4050. 00002858  C06D F6FE                and.w      D0, [A5 - 0x902]
  4051. 0000285C  3C00                     move.w     D6, D0
  4052. 0000285E  302D A796                move.w     D0, [A5 - 0x586A]
  4053. 00002862  E048                     lsr        D0.w, 8
  4054. 00002864  3B40 A796                move.w     [A5 - 0x586A], D0
  4055. 00002868  516D A798                subq.w     [A5 - 0x5868], 8
  4056. 0000286C  6000 008C                bra        +0x8E /* 000028FA */
  4057. label00002870:
  4058. 00002870  3F3C 0008                move.w     -[A7], 0x8
  4059. 00002874  4EBA FDB8                jsr        [PC - 0x248 /* 0000262E */]
  4060. 00002878  548F                     addq.l     A7, 2
  4061. 0000287A  3C00                     move.w     D6, D0
  4062. 0000287C  6000 007C                bra        +0x7E /* 000028FA */
  4063. label00002880:
  4064. 00002880  41ED E9CA                lea.l      A0, [A5 - 0x1636]
  4065. 00002884  D0C7                     add.w      A0, D7
  4066. 00002886  7000                     moveq.l    D0, 0x00
  4067. 00002888  1010                     move.b     D0, [A0]
  4068. 0000288A  4840                     swap.w     D0
  4069. 0000288C  4240                     clr.w      D0
  4070. 0000288E  4840                     swap.w     D0
  4071. 00002890  D080                     add.l      D0, D0
  4072. 00002892  41ED F732                lea.l      A0, [A5 - 0x8CE]
  4073. 00002896  D1C0                     add.l      A0, D0
  4074. 00002898  3D50 FFF0                move.w     [A6 - 0x10], [A0]
  4075. 0000289C  302E FFF0                move.w     D0, [A6 - 0x10]
  4076. 000028A0  B06D A798                cmp.w      D0, [A5 - 0x5868]
  4077. 000028A4  6E30                     bgt        +0x32 /* 000028D6 */
  4078. 000028A6  302E FFF0                move.w     D0, [A6 - 0x10]
  4079. 000028AA  48C0                     ext.l      D0
  4080. 000028AC  D080                     add.l      D0, D0
  4081. 000028AE  41ED F6EE                lea.l      A0, [A5 - 0x912]
  4082. 000028B2  D1C0                     add.l      A0, D0
  4083. 000028B4  302D A796                move.w     D0, [A5 - 0x586A]
  4084. 000028B8  C050                     and.w      D0, [A0]
  4085. 000028BA  3D40 FFF2                move.w     [A6 - 0xE], D0
  4086. 000028BE  302D A796                move.w     D0, [A5 - 0x586A]
  4087. 000028C2  322E FFF0                move.w     D1, [A6 - 0x10]
  4088. 000028C6  E268                     lsr        D0.w, D1
  4089. 000028C8  3B40 A796                move.w     [A5 - 0x586A], D0
  4090. 000028CC  302E FFF0                move.w     D0, [A6 - 0x10]
  4091. 000028D0  916D A798                sub.w      [A5 - 0x5868], D0
  4092. 000028D4  600E                     bra        +0x10 /* 000028E4 */
  4093. label000028D6:
  4094. 000028D6  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  4095. 000028DA  4EBA FD52                jsr        [PC - 0x2AE /* 0000262E */]
  4096. 000028DE  548F                     addq.l     A7, 2
  4097. 000028E0  3D40 FFF2                move.w     [A6 - 0xE], D0
  4098. label000028E4:
  4099. 000028E4  3007                     move.w     D0, D7
  4100. 000028E6  48C0                     ext.l      D0
  4101. 000028E8  ED80                     asl        D0, 6
  4102. 000028EA  41ED A9CA                lea.l      A0, [A5 - 0x5636]
  4103. 000028EE  D1C0                     add.l      A0, D0
  4104. 000028F0  D0EE FFF2                add.w      A0, [A6 - 0xE]
  4105. 000028F4  7000                     moveq.l    D0, 0x00
  4106. 000028F6  1010                     move.b     D0, [A0]
  4107. 000028F8  3C00                     move.w     D6, D0
  4108. label000028FA:
  4109. 000028FA  302E FFFE                move.w     D0, [A6 - 0x2]
  4110. 000028FE  4EAD 003A                jsr        [A5 + 0x3A]
  4111. 00002902  0000 0003                ori.b      D0, 0x3
  4112. 00002906  01CE                     bset       A6, D0
  4113. 00002908  0008 0038                ori.b      A0, 0x38 /* '8' */
  4114. 0000290C  009C 00A6 0C46           ori.l      [A4]+, 0xA60C46
  4115. 00002912  0090 6722 206D           ori.l      [A0], 0x6722206D /* 'g" m' */
  4116. 00002918  A7BC                     trap       vLaunchInit, flags=7
  4117. 0000291A  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4118. 0000291E  1086                     move.b     [A0], D6
  4119. 00002920  526D A7C4                addq.w     [A5 - 0x583C], 1
  4120. 00002924  302D A7C4                move.w     D0, [A5 - 0x583C]
  4121. 00002928  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4122. 0000292C  6600 01A6                bne        +0x1A8 /* 00002AD4 */
  4123. 00002930  4EBA FD84                jsr        [PC - 0x27C /* 000026B6 */]
  4124. 00002934  6000 019E                bra        +0x1A0 /* 00002AD4 */
  4125. 00002938  7001                     moveq.l    D0, 0x01
  4126. 0000293A  3D40 FFFE                move.w     [A6 - 0x2], D0
  4127. 0000293E  6000 0194                bra        +0x196 /* 00002AD4 */
  4128. 00002942  4A46                     tst.w      D6
  4129. 00002944  673C                     beq        +0x3E /* 00002982 */
  4130. 00002946  3A06                     move.w     D5, D6
  4131. 00002948  302D A9C8                move.w     D0, [A5 - 0x5638]
  4132. 0000294C  48C0                     ext.l      D0
  4133. 0000294E  D080                     add.l      D0, D0
  4134. 00002950  41ED F714                lea.l      A0, [A5 - 0x8EC]
  4135. 00002954  D1C0                     add.l      A0, D0
  4136. 00002956  3010                     move.w     D0, [A0]
  4137. 00002958  C045                     and.w      D0, D5
  4138. 0000295A  3800                     move.w     D4, D0
  4139. 0000295C  302D A9C8                move.w     D0, [A5 - 0x5638]
  4140. 00002960  48C0                     ext.l      D0
  4141. 00002962  D080                     add.l      D0, D0
  4142. 00002964  41ED F714                lea.l      A0, [A5 - 0x8EC]
  4143. 00002968  D1C0                     add.l      A0, D0
  4144. 0000296A  B850                     cmp.w      D4, [A0]
  4145. 0000296C  660A                     bne        +0xC /* 00002978 */
  4146. 0000296E  7002                     moveq.l    D0, 0x02
  4147. 00002970  3D40 FFFE                move.w     [A6 - 0x2], D0
  4148. 00002974  6000 015E                bra        +0x160 /* 00002AD4 */
  4149. label00002978:
  4150. 00002978  7003                     moveq.l    D0, 0x03
  4151. 0000297A  3D40 FFFE                move.w     [A6 - 0x2], D0
  4152. 0000297E  6000 0154                bra        +0x156 /* 00002AD4 */
  4153. label00002982:
  4154. 00002982  206D A7BC                movea.l    A0, [A5 - 0x5844]
  4155. 00002986  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4156. 0000298A  7090                     moveq.l    D0, 0xFFFFFF90
  4157. 0000298C  1080                     move.b     [A0], D0
  4158. 0000298E  526D A7C4                addq.w     [A5 - 0x583C], 1
  4159. 00002992  302D A7C4                move.w     D0, [A5 - 0x583C]
  4160. 00002996  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4161. 0000299A  6604                     bne        +0x6 /* 000029A0 */
  4162. 0000299C  4EBA FD18                jsr        [PC - 0x2E8 /* 000026B6 */]
  4163. label000029A0:
  4164. 000029A0  426E FFFE                clr.w      [A6 - 0x2]
  4165. 000029A4  6000 012E                bra        +0x130 /* 00002AD4 */
  4166. 000029A8  D846                     add.w      D4, D6
  4167. 000029AA  7003                     moveq.l    D0, 0x03
  4168. 000029AC  3D40 FFFE                move.w     [A6 - 0x2], D0
  4169. 000029B0  6000 0122                bra        +0x124 /* 00002AD4 */
  4170. 000029B4  3004                     move.w     D0, D4
  4171. 000029B6  5640                     addq.w     D0, 3
  4172. 000029B8  3D40 FFFA                move.w     [A6 - 0x6], D0
  4173. 000029BC  302D A9C8                move.w     D0, [A5 - 0x5638]
  4174. 000029C0  48C0                     ext.l      D0
  4175. 000029C2  D080                     add.l      D0, D0
  4176. 000029C4  41ED F71E                lea.l      A0, [A5 - 0x8E2]
  4177. 000029C8  D1C0                     add.l      A0, D0
  4178. 000029CA  3005                     move.w     D0, D5
  4179. 000029CC  3210                     move.w     D1, [A0]
  4180. 000029CE  E260                     asr        D0.w, D1
  4181. 000029D0  322D A9C8                move.w     D1, [A5 - 0x5638]
  4182. 000029D4  48C1                     ext.l      D1
  4183. 000029D6  D281                     add.l      D1, D1
  4184. 000029D8  41ED F728                lea.l      A0, [A5 - 0x8D8]
  4185. 000029DC  D1C1                     add.l      A0, D1
  4186. 000029DE  C050                     and.w      D0, [A0]
  4187. 000029E0  E148                     lsl        D0.w, 8
  4188. 000029E2  D046                     add.w      D0, D6
  4189. 000029E4  5240                     addq.w     D0, 1
  4190. 000029E6  3D40 FFF8                move.w     [A6 - 0x8], D0
  4191. 000029EA  306D A7C4                movea.w    A0, [A5 - 0x583C]
  4192. 000029EE  D1ED A7C0                add.l      A0, [A5 - 0x5840]
  4193. 000029F2  90EE FFF8                sub.w      A0, [A6 - 0x8]
  4194. 000029F6  2D48 FFF4                move.l     [A6 - 0xC], A0
  4195. 000029FA  6024                     bra        +0x26 /* 00002A20 */
  4196. label000029FC:
  4197. 000029FC  206D A7BC                movea.l    A0, [A5 - 0x5844]
  4198. 00002A00  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4199. 00002A04  4210                     clr.b      [A0]
  4200. 00002A06  526D A7C4                addq.w     [A5 - 0x583C], 1
  4201. 00002A0A  302D A7C4                move.w     D0, [A5 - 0x583C]
  4202. 00002A0E  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4203. 00002A12  6604                     bne        +0x6 /* 00002A18 */
  4204. 00002A14  4EBA FCA0                jsr        [PC - 0x360 /* 000026B6 */]
  4205. label00002A18:
  4206. 00002A18  52AE FFF4                addq.l     [A6 - 0xC], 1
  4207. 00002A1C  536E FFFA                subq.w     [A6 - 0x6], 1
  4208. label00002A20:
  4209. 00002A20  4AAE FFF4                tst.l      [A6 - 0xC]
  4210. 00002A24  6C06                     bge        +0x8 /* 00002A2C */
  4211. 00002A26  4A6E FFFA                tst.w      [A6 - 0x6]
  4212. 00002A2A  6ED0                     bgt        -0x2E /* 000029FC */
  4213. label00002A2C:
  4214. 00002A2C  7000                     moveq.l    D0, 0x00
  4215. 00002A2E  302D A78A                move.w     D0, [A5 - 0x5876]
  4216. 00002A32  2F00                     move.l     -[A7], D0
  4217. 00002A34  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4218. 00002A38  4EAD 0052                jsr        [A5 + 0x52]
  4219. 00002A3C  3D40 FFFC                move.w     [A6 - 0x4], D0
  4220. 00002A40  302E FFFC                move.w     D0, [A6 - 0x4]
  4221. 00002A44  D06E FFFA                add.w      D0, [A6 - 0x6]
  4222. 00002A48  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4223. 00002A4C  6400 0076                bcc        +0x78 /* 00002AC4 */
  4224. 00002A50  302D A7C4                move.w     D0, [A5 - 0x583C]
  4225. 00002A54  D06E FFFA                add.w      D0, [A6 - 0x6]
  4226. 00002A58  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4227. 00002A5C  6400 0066                bcc        +0x68 /* 00002AC4 */
  4228. 00002A60  306E FFFC                movea.w    A0, [A6 - 0x4]
  4229. 00002A64  D1ED A7B8                add.l      A0, [A5 - 0x5848]
  4230. 00002A68  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  4231. 00002A6C  4850                     pea.l      [A0]
  4232. 00002A6E  2F2D A7BC                move.l     -[A7], [A5 - 0x5844]
  4233. 00002A72  4EBA 04B4                jsr        [PC + 0x4B4 /* 00002F28 */]
  4234. 00002A76  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4235. 00002A7A  302E FFFA                move.w     D0, [A6 - 0x6]
  4236. 00002A7E  48C0                     ext.l      D0
  4237. 00002A80  D1AD A7BC                add.l      [A5 - 0x5844], D0
  4238. 00002A84  302E FFFA                move.w     D0, [A6 - 0x6]
  4239. 00002A88  D16D A7C4                add.w      [A5 - 0x583C], D0
  4240. 00002A8C  6042                     bra        +0x44 /* 00002AD0 */
  4241. label00002A8E:
  4242. 00002A8E  206D A7BC                movea.l    A0, [A5 - 0x5844]
  4243. 00002A92  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4244. 00002A96  326E FFFC                movea.w    A1, [A6 - 0x4]
  4245. 00002A9A  D3ED A7B8                add.l      A1, [A5 - 0x5848]
  4246. 00002A9E  1091                     move.b     [A0], [A1]
  4247. 00002AA0  526D A7C4                addq.w     [A5 - 0x583C], 1
  4248. 00002AA4  302D A7C4                move.w     D0, [A5 - 0x583C]
  4249. 00002AA8  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4250. 00002AAC  6604                     bne        +0x6 /* 00002AB2 */
  4251. 00002AAE  4EBA FC06                jsr        [PC - 0x3FA /* 000026B6 */]
  4252. label00002AB2:
  4253. 00002AB2  526E FFFC                addq.w     [A6 - 0x4], 1
  4254. 00002AB6  302E FFFC                move.w     D0, [A6 - 0x4]
  4255. 00002ABA  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4256. 00002ABE  6504                     bcs        +0x6 /* 00002AC4 */
  4257. 00002AC0  426E FFFC                clr.w      [A6 - 0x4]
  4258. label00002AC4:
  4259. 00002AC4  302E FFFA                move.w     D0, [A6 - 0x6]
  4260. 00002AC8  536E FFFA                subq.w     [A6 - 0x6], 1
  4261. 00002ACC  4A40                     tst.w      D0
  4262. 00002ACE  66BE                     bne        -0x40 /* 00002A8E */
  4263. label00002AD0:
  4264. 00002AD0  426E FFFE                clr.w      [A6 - 0x2]
  4265. label00002AD4:
  4266. 00002AD4  3E06                     move.w     D7, D6
  4267. label00002AD6:
  4268. 00002AD6  306D A7C4                movea.w    A0, [A5 - 0x583C]
  4269. 00002ADA  D1ED A7C0                add.l      A0, [A5 - 0x5840]
  4270. 00002ADE  B1ED A7B0                cmpa.l     A0, [A5 - 0x5850]
  4271. 00002AE2  6C08                     bge        +0xA /* 00002AEC */
  4272. 00002AE4  4A2D A79A                tst.b      [A5 - 0x5866]
  4273. 00002AE8  6700 FCF4                beq        -0x30A /* 000027DE */
  4274. label00002AEC:
  4275. 00002AEC  4CDF 00F0                movem.l    D7,D6,D5,D4, [A7]+
  4276. 00002AF0  4E5E                     unlink     A6
  4277. 00002AF2  4E75                     rts
  4278. 00002AF4  554E                     subq.w     A6, 2
  4279. 00002AF6  5245                     addq.w     D5, 1
  4280. 00002AF8  4455                     neg.w      [A5]
  4281. 00002AFA  4345                     chk.w      D1, D5
  4282. fn00002AFC:
  4283. 00002AFC  48E7 0300                movem.l    -[A7], D6,D7
  4284. 00002B00  3C3C 0101                move.w     D6, 0x101
  4285. 00002B04  6012                     bra        +0x14 /* 00002B18 */
  4286. label00002B06:
  4287. 00002B06  3006                     move.w     D0, D6
  4288. 00002B08  48C0                     ext.l      D0
  4289. 00002B0A  D080                     add.l      D0, D0
  4290. 00002B0C  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4291. 00002B10  2040                     movea.l    A0, D0
  4292. 00002B12  08D0 0007                bset.b     [A0], 0x7
  4293. 00002B16  5246                     addq.w     D6, 1
  4294. label00002B18:
  4295. 00002B18  BC6D EADA                cmp.w      D6, [A5 - 0x1526]
  4296. 00002B1C  6DE8                     blt        -0x16 /* 00002B06 */
  4297. 00002B1E  3C3C 0101                move.w     D6, 0x101
  4298. 00002B22  602C                     bra        +0x2E /* 00002B50 */
  4299. label00002B24:
  4300. 00002B24  3006                     move.w     D0, D6
  4301. 00002B26  48C0                     ext.l      D0
  4302. 00002B28  D080                     add.l      D0, D0
  4303. 00002B2A  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4304. 00002B2E  2040                     movea.l    A0, D0
  4305. 00002B30  303C 7FFF                move.w     D0, 0x7FFF
  4306. 00002B34  C050                     and.w      D0, [A0]
  4307. 00002B36  3E00                     move.w     D7, D0
  4308. 00002B38  0C47 0101                cmpi.w     D7, 0x101
  4309. 00002B3C  6D10                     blt        +0x12 /* 00002B4E */
  4310. 00002B3E  3007                     move.w     D0, D7
  4311. 00002B40  48C0                     ext.l      D0
  4312. 00002B42  D080                     add.l      D0, D0
  4313. 00002B44  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4314. 00002B48  2040                     movea.l    A0, D0
  4315. 00002B4A  0250 7FFF                andi.w     [A0], 0x7FFF
  4316. label00002B4E:
  4317. 00002B4E  5246                     addq.w     D6, 1
  4318. label00002B50:
  4319. 00002B50  BC6D EADA                cmp.w      D6, [A5 - 0x1526]
  4320. 00002B54  6DCE                     blt        -0x30 /* 00002B24 */
  4321. 00002B56  3C3C 0101                move.w     D6, 0x101
  4322. 00002B5A  6028                     bra        +0x2A /* 00002B84 */
  4323. label00002B5C:
  4324. 00002B5C  3006                     move.w     D0, D6
  4325. 00002B5E  48C0                     ext.l      D0
  4326. 00002B60  D080                     add.l      D0, D0
  4327. 00002B62  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4328. 00002B66  2040                     movea.l    A0, D0
  4329. 00002B68  303C 8000                move.w     D0, 0x8000
  4330. 00002B6C  C050                     and.w      D0, [A0]
  4331. 00002B6E  4A40                     tst.w      D0
  4332. 00002B70  6710                     beq        +0x12 /* 00002B82 */
  4333. 00002B72  3006                     move.w     D0, D6
  4334. 00002B74  48C0                     ext.l      D0
  4335. 00002B76  D080                     add.l      D0, D0
  4336. 00002B78  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4337. 00002B7C  2040                     movea.l    A0, D0
  4338. 00002B7E  70FF                     moveq.l    D0, 0xFFFFFFFF
  4339. 00002B80  3080                     move.w     [A0], D0
  4340. label00002B82:
  4341. 00002B82  5246                     addq.w     D6, 1
  4342. label00002B84:
  4343. 00002B84  BC6D EADA                cmp.w      D6, [A5 - 0x1526]
  4344. 00002B88  6DD2                     blt        -0x2C /* 00002B5C */
  4345. 00002B8A  3C3C 0101                move.w     D6, 0x101
  4346. 00002B8E  6002                     bra        +0x4 /* 00002B92 */
  4347. label00002B90:
  4348. 00002B90  5246                     addq.w     D6, 1
  4349. label00002B92:
  4350. 00002B92  BC6D EADC                cmp.w      D6, [A5 - 0x1524]
  4351. 00002B96  6C12                     bge        +0x14 /* 00002BAA */
  4352. 00002B98  3006                     move.w     D0, D6
  4353. 00002B9A  48C0                     ext.l      D0
  4354. 00002B9C  D080                     add.l      D0, D0
  4355. 00002B9E  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4356. 00002BA2  2040                     movea.l    A0, D0
  4357. 00002BA4  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  4358. 00002BA8  66E6                     bne        -0x18 /* 00002B90 */
  4359. label00002BAA:
  4360. 00002BAA  3B46 EADA                move.w     [A5 - 0x1526], D6
  4361. 00002BAE  4CDF 00C0                movem.l    D7,D6, [A7]+
  4362. 00002BB2  4E75                     rts
  4363. fn00002BB4:
  4364. 00002BB4  4E56 FFFA                link       A6, -0x0006
  4365. 00002BB8  48E7 0300                movem.l    -[A7], D6,D7
  4366. 00002BBC  3B7C 2000 EADC           move.w     [A5 - 0x1524], 0x2000 /* ' \0' */
  4367. 00002BC2  7009                     moveq.l    D0, 0x09
  4368. 00002BC4  3B40 EAD6                move.w     [A5 - 0x152A], D0
  4369. 00002BC8  7001                     moveq.l    D0, 0x01
  4370. 00002BCA  322D EAD6                move.w     D1, [A5 - 0x152A]
  4371. 00002BCE  E368                     lsl        D0.w, D1
  4372. 00002BD0  5340                     subq.w     D0, 1
  4373. 00002BD2  3B40 EAD8                move.w     [A5 - 0x1528], D0
  4374. 00002BD6  3B7C 0101 EADA           move.w     [A5 - 0x1526], 0x101
  4375. 00002BDC  426D EADE                clr.w      [A5 - 0x1522]
  4376. 00002BE0  426D EAE0                clr.w      [A5 - 0x1520]
  4377. 00002BE4  3E2D EADC                move.w     D7, [A5 - 0x1524]
  4378. 00002BE8  6012                     bra        +0x14 /* 00002BFC */
  4379. label00002BEA:
  4380. 00002BEA  3007                     move.w     D0, D7
  4381. 00002BEC  48C0                     ext.l      D0
  4382. 00002BEE  D080                     add.l      D0, D0
  4383. 00002BF0  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4384. 00002BF4  2040                     movea.l    A0, D0
  4385. 00002BF6  70FF                     moveq.l    D0, 0xFFFFFFFF
  4386. 00002BF8  3080                     move.w     [A0], D0
  4387. 00002BFA  5347                     subq.w     D7, 1
  4388. label00002BFC:
  4389. 00002BFC  0C47 00FF                cmpi.w     D7, 0xFF
  4390. 00002C00  6EE8                     bgt        -0x16 /* 00002BEA */
  4391. 00002C02  3E3C 00FF                move.w     D7, 0xFF
  4392. 00002C06  6018                     bra        +0x1A /* 00002C20 */
  4393. label00002C08:
  4394. 00002C08  3007                     move.w     D0, D7
  4395. 00002C0A  48C0                     ext.l      D0
  4396. 00002C0C  D080                     add.l      D0, D0
  4397. 00002C0E  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4398. 00002C12  2040                     movea.l    A0, D0
  4399. 00002C14  4250                     clr.w      [A0]
  4400. 00002C16  3047                     movea.w    A0, D7
  4401. 00002C18  D1ED EACE                add.l      A0, [A5 - 0x1532]
  4402. 00002C1C  1087                     move.b     [A0], D7
  4403. 00002C1E  5347                     subq.w     D7, 1
  4404. label00002C20:
  4405. 00002C20  4A47                     tst.w      D7
  4406. 00002C22  6CE4                     bge        -0x1A /* 00002C08 */
  4407. 00002C24  302D EAD6                move.w     D0, [A5 - 0x152A]
  4408. 00002C28  B06D A798                cmp.w      D0, [A5 - 0x5868]
  4409. 00002C2C  6E30                     bgt        +0x32 /* 00002C5E */
  4410. 00002C2E  302D EAD6                move.w     D0, [A5 - 0x152A]
  4411. 00002C32  48C0                     ext.l      D0
  4412. 00002C34  D080                     add.l      D0, D0
  4413. 00002C36  41ED F6EE                lea.l      A0, [A5 - 0x912]
  4414. 00002C3A  D1C0                     add.l      A0, D0
  4415. 00002C3C  302D A796                move.w     D0, [A5 - 0x586A]
  4416. 00002C40  C050                     and.w      D0, [A0]
  4417. 00002C42  3D40 FFFC                move.w     [A6 - 0x4], D0
  4418. 00002C46  302D A796                move.w     D0, [A5 - 0x586A]
  4419. 00002C4A  322D EAD6                move.w     D1, [A5 - 0x152A]
  4420. 00002C4E  E268                     lsr        D0.w, D1
  4421. 00002C50  3B40 A796                move.w     [A5 - 0x586A], D0
  4422. 00002C54  302D EAD6                move.w     D0, [A5 - 0x152A]
  4423. 00002C58  916D A798                sub.w      [A5 - 0x5868], D0
  4424. 00002C5C  600E                     bra        +0x10 /* 00002C6C */
  4425. label00002C5E:
  4426. 00002C5E  3F2D EAD6                move.w     -[A7], [A5 - 0x152A]
  4427. 00002C62  4EBA F9CA                jsr        [PC - 0x636 /* 0000262E */]
  4428. 00002C66  548F                     addq.l     A7, 2
  4429. 00002C68  3D40 FFFC                move.w     [A6 - 0x4], D0
  4430. label00002C6C:
  4431. 00002C6C  4A2D A79A                tst.b      [A5 - 0x5866]
  4432. 00002C70  6600 027A                bne        +0x27C /* 00002EEC */
  4433. 00002C74  3D6E FFFC FFFE           move.w     [A6 - 0x2], [A6 - 0x4]
  4434. 00002C7A  206D A7BC                movea.l    A0, [A5 - 0x5844]
  4435. 00002C7E  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4436. 00002C82  10AE FFFF                move.b     [A0], [A6 - 0x1]
  4437. 00002C86  526D A7C4                addq.w     [A5 - 0x583C], 1
  4438. 00002C8A  302D A7C4                move.w     D0, [A5 - 0x583C]
  4439. 00002C8E  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4440. 00002C92  6604                     bne        +0x6 /* 00002C98 */
  4441. 00002C94  4EBA FA20                jsr        [PC - 0x5E0 /* 000026B6 */]
  4442. label00002C98:
  4443. 00002C98  3C3C 2000                move.w     D6, 0x2000 /* ' \0' */
  4444. 00002C9C  6000 0246                bra        +0x248 /* 00002EE4 */
  4445. label00002CA0:
  4446. 00002CA0  302D EAD6                move.w     D0, [A5 - 0x152A]
  4447. 00002CA4  B06D A798                cmp.w      D0, [A5 - 0x5868]
  4448. 00002CA8  6E2E                     bgt        +0x30 /* 00002CD8 */
  4449. 00002CAA  302D EAD6                move.w     D0, [A5 - 0x152A]
  4450. 00002CAE  48C0                     ext.l      D0
  4451. 00002CB0  D080                     add.l      D0, D0
  4452. 00002CB2  41ED F6EE                lea.l      A0, [A5 - 0x912]
  4453. 00002CB6  D1C0                     add.l      A0, D0
  4454. 00002CB8  302D A796                move.w     D0, [A5 - 0x586A]
  4455. 00002CBC  C050                     and.w      D0, [A0]
  4456. 00002CBE  3E00                     move.w     D7, D0
  4457. 00002CC0  302D A796                move.w     D0, [A5 - 0x586A]
  4458. 00002CC4  322D EAD6                move.w     D1, [A5 - 0x152A]
  4459. 00002CC8  E268                     lsr        D0.w, D1
  4460. 00002CCA  3B40 A796                move.w     [A5 - 0x586A], D0
  4461. 00002CCE  302D EAD6                move.w     D0, [A5 - 0x152A]
  4462. 00002CD2  916D A798                sub.w      [A5 - 0x5868], D0
  4463. 00002CD6  600C                     bra        +0xE /* 00002CE4 */
  4464. label00002CD8:
  4465. 00002CD8  3F2D EAD6                move.w     -[A7], [A5 - 0x152A]
  4466. 00002CDC  4EBA F950                jsr        [PC - 0x6B0 /* 0000262E */]
  4467. 00002CE0  548F                     addq.l     A7, 2
  4468. 00002CE2  3E00                     move.w     D7, D0
  4469. label00002CE4:
  4470. 00002CE4  4A2D A79A                tst.b      [A5 - 0x5866]
  4471. 00002CE8  6600 0202                bne        +0x204 /* 00002EEC */
  4472. 00002CEC  6000 00CA                bra        +0xCC /* 00002DB8 */
  4473. label00002CF0:
  4474. 00002CF0  302D EAD6                move.w     D0, [A5 - 0x152A]
  4475. 00002CF4  B06D A798                cmp.w      D0, [A5 - 0x5868]
  4476. 00002CF8  6E2E                     bgt        +0x30 /* 00002D28 */
  4477. 00002CFA  302D EAD6                move.w     D0, [A5 - 0x152A]
  4478. 00002CFE  48C0                     ext.l      D0
  4479. 00002D00  D080                     add.l      D0, D0
  4480. 00002D02  41ED F6EE                lea.l      A0, [A5 - 0x912]
  4481. 00002D06  D1C0                     add.l      A0, D0
  4482. 00002D08  302D A796                move.w     D0, [A5 - 0x586A]
  4483. 00002D0C  C050                     and.w      D0, [A0]
  4484. 00002D0E  3E00                     move.w     D7, D0
  4485. 00002D10  302D A796                move.w     D0, [A5 - 0x586A]
  4486. 00002D14  322D EAD6                move.w     D1, [A5 - 0x152A]
  4487. 00002D18  E268                     lsr        D0.w, D1
  4488. 00002D1A  3B40 A796                move.w     [A5 - 0x586A], D0
  4489. 00002D1E  302D EAD6                move.w     D0, [A5 - 0x152A]
  4490. 00002D22  916D A798                sub.w      [A5 - 0x5868], D0
  4491. 00002D26  600C                     bra        +0xE /* 00002D34 */
  4492. label00002D28:
  4493. 00002D28  3F2D EAD6                move.w     -[A7], [A5 - 0x152A]
  4494. 00002D2C  4EBA F900                jsr        [PC - 0x700 /* 0000262E */]
  4495. 00002D30  548F                     addq.l     A7, 2
  4496. 00002D32  3E00                     move.w     D7, D0
  4497. label00002D34:
  4498. 00002D34  3007                     move.w     D0, D7
  4499. 00002D36  4EAD 003A                jsr        [A5 + 0x3A]
  4500. 00002D3A  0001 0002                ori.b      D1, 0x2
  4501. 00002D3E  002E 0004 0026           ori.b      [A6 + 0x26], 0x4
  4502. 00002D44  526D EAD6                addq.w     [A5 - 0x152A], 1
  4503. 00002D48  0C6D 000D EAD6           cmpi.w     [A5 - 0x152A], 0xD /* '\r' */
  4504. 00002D4E  6608                     bne        +0xA /* 00002D58 */
  4505. 00002D50  3B6D EADC EAD8           move.w     [A5 - 0x1528], [A5 - 0x1524]
  4506. 00002D56  6014                     bra        +0x16 /* 00002D6C */
  4507. label00002D58:
  4508. 00002D58  7001                     moveq.l    D0, 0x01
  4509. 00002D5A  322D EAD6                move.w     D1, [A5 - 0x152A]
  4510. 00002D5E  E368                     lsl        D0.w, D1
  4511. 00002D60  5340                     subq.w     D0, 1
  4512. 00002D62  3B40 EAD8                move.w     [A5 - 0x1528], D0
  4513. 00002D66  6004                     bra        +0x6 /* 00002D6C */
  4514. 00002D68  4EBA FD92                jsr        [PC - 0x26E /* 00002AFC */]
  4515. label00002D6C:
  4516. 00002D6C  302D EAD6                move.w     D0, [A5 - 0x152A]
  4517. 00002D70  B06D A798                cmp.w      D0, [A5 - 0x5868]
  4518. 00002D74  6E2E                     bgt        +0x30 /* 00002DA4 */
  4519. 00002D76  302D EAD6                move.w     D0, [A5 - 0x152A]
  4520. 00002D7A  48C0                     ext.l      D0
  4521. 00002D7C  D080                     add.l      D0, D0
  4522. 00002D7E  41ED F6EE                lea.l      A0, [A5 - 0x912]
  4523. 00002D82  D1C0                     add.l      A0, D0
  4524. 00002D84  302D A796                move.w     D0, [A5 - 0x586A]
  4525. 00002D88  C050                     and.w      D0, [A0]
  4526. 00002D8A  3E00                     move.w     D7, D0
  4527. 00002D8C  302D A796                move.w     D0, [A5 - 0x586A]
  4528. 00002D90  322D EAD6                move.w     D1, [A5 - 0x152A]
  4529. 00002D94  E268                     lsr        D0.w, D1
  4530. 00002D96  3B40 A796                move.w     [A5 - 0x586A], D0
  4531. 00002D9A  302D EAD6                move.w     D0, [A5 - 0x152A]
  4532. 00002D9E  916D A798                sub.w      [A5 - 0x5868], D0
  4533. 00002DA2  600C                     bra        +0xE /* 00002DB0 */
  4534. label00002DA4:
  4535. 00002DA4  3F2D EAD6                move.w     -[A7], [A5 - 0x152A]
  4536. 00002DA8  4EBA F884                jsr        [PC - 0x77C /* 0000262E */]
  4537. 00002DAC  548F                     addq.l     A7, 2
  4538. 00002DAE  3E00                     move.w     D7, D0
  4539. label00002DB0:
  4540. 00002DB0  4A2D A79A                tst.b      [A5 - 0x5866]
  4541. 00002DB4  6600 0136                bne        +0x138 /* 00002EEC */
  4542. label00002DB8:
  4543. 00002DB8  0C47 0100                cmpi.w     D7, 0x100
  4544. 00002DBC  6700 FF32                beq        -0xCC /* 00002CF0 */
  4545. 00002DC0  3D47 FFFA                move.w     [A6 - 0x6], D7
  4546. 00002DC4  3007                     move.w     D0, D7
  4547. 00002DC6  48C0                     ext.l      D0
  4548. 00002DC8  D080                     add.l      D0, D0
  4549. 00002DCA  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4550. 00002DCE  2040                     movea.l    A0, D0
  4551. 00002DD0  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  4552. 00002DD4  6630                     bne        +0x32 /* 00002E06 */
  4553. 00002DD6  5346                     subq.w     D6, 1
  4554. 00002DD8  3046                     movea.w    A0, D6
  4555. 00002DDA  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  4556. 00002DDE  10AE FFFF                move.b     [A0], [A6 - 0x1]
  4557. 00002DE2  3E2E FFFC                move.w     D7, [A6 - 0x4]
  4558. 00002DE6  601E                     bra        +0x20 /* 00002E06 */
  4559. label00002DE8:
  4560. 00002DE8  5346                     subq.w     D6, 1
  4561. 00002DEA  3046                     movea.w    A0, D6
  4562. 00002DEC  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  4563. 00002DF0  3247                     movea.w    A1, D7
  4564. 00002DF2  D3ED EACE                add.l      A1, [A5 - 0x1532]
  4565. 00002DF6  1091                     move.b     [A0], [A1]
  4566. 00002DF8  3007                     move.w     D0, D7
  4567. 00002DFA  48C0                     ext.l      D0
  4568. 00002DFC  D080                     add.l      D0, D0
  4569. 00002DFE  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4570. 00002E02  2040                     movea.l    A0, D0
  4571. 00002E04  3E10                     move.w     D7, [A0]
  4572. label00002E06:
  4573. 00002E06  0C47 0101                cmpi.w     D7, 0x101
  4574. 00002E0A  6CDC                     bge        -0x22 /* 00002DE8 */
  4575. 00002E0C  3047                     movea.w    A0, D7
  4576. 00002E0E  D1ED EACE                add.l      A0, [A5 - 0x1532]
  4577. 00002E12  7000                     moveq.l    D0, 0x00
  4578. 00002E14  1010                     move.b     D0, [A0]
  4579. 00002E16  3D40 FFFE                move.w     [A6 - 0x2], D0
  4580. 00002E1A  5346                     subq.w     D6, 1
  4581. 00002E1C  3046                     movea.w    A0, D6
  4582. 00002E1E  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  4583. 00002E22  10AE FFFF                move.b     [A0], [A6 - 0x1]
  4584. 00002E26  303C 2000                move.w     D0, 0x2000 /* ' \0' */
  4585. 00002E2A  9046                     sub.w      D0, D6
  4586. 00002E2C  D06D A7C4                add.w      D0, [A5 - 0x583C]
  4587. 00002E30  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4588. 00002E34  6460                     bcc        +0x62 /* 00002E96 */
  4589. 00002E36  3046                     movea.w    A0, D6
  4590. 00002E38  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  4591. 00002E3C  303C 2000                move.w     D0, 0x2000 /* ' \0' */
  4592. 00002E40  9046                     sub.w      D0, D6
  4593. 00002E42  3F00                     move.w     -[A7], D0
  4594. 00002E44  4850                     pea.l      [A0]
  4595. 00002E46  2F2D A7BC                move.l     -[A7], [A5 - 0x5844]
  4596. 00002E4A  4EBA 00DC                jsr        [PC + 0xDC /* 00002F28 */]
  4597. 00002E4E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4598. 00002E52  303C 2000                move.w     D0, 0x2000 /* ' \0' */
  4599. 00002E56  9046                     sub.w      D0, D6
  4600. 00002E58  48C0                     ext.l      D0
  4601. 00002E5A  D1AD A7BC                add.l      [A5 - 0x5844], D0
  4602. 00002E5E  303C 2000                move.w     D0, 0x2000 /* ' \0' */
  4603. 00002E62  9046                     sub.w      D0, D6
  4604. 00002E64  D16D A7C4                add.w      [A5 - 0x583C], D0
  4605. 00002E68  3C3C 2000                move.w     D6, 0x2000 /* ' \0' */
  4606. 00002E6C  602E                     bra        +0x30 /* 00002E9C */
  4607. label00002E6E:
  4608. 00002E6E  206D A7BC                movea.l    A0, [A5 - 0x5844]
  4609. 00002E72  52AD A7BC                addq.l     [A5 - 0x5844], 1
  4610. 00002E76  3006                     move.w     D0, D6
  4611. 00002E78  5246                     addq.w     D6, 1
  4612. 00002E7A  48C0                     ext.l      D0
  4613. 00002E7C  D0AD EAD2                add.l      D0, [A5 - 0x152E]
  4614. 00002E80  2240                     movea.l    A1, D0
  4615. 00002E82  1091                     move.b     [A0], [A1]
  4616. 00002E84  526D A7C4                addq.w     [A5 - 0x583C], 1
  4617. 00002E88  302D A7C4                move.w     D0, [A5 - 0x583C]
  4618. 00002E8C  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  4619. 00002E90  6604                     bne        +0x6 /* 00002E96 */
  4620. 00002E92  4EBA F822                jsr        [PC - 0x7DE /* 000026B6 */]
  4621. label00002E96:
  4622. 00002E96  0C46 2000                cmpi.w     D6, 0x2000 /* ' \0' */
  4623. 00002E9A  6DD2                     blt        -0x2C /* 00002E6E */
  4624. label00002E9C:
  4625. 00002E9C  3E2D EADA                move.w     D7, [A5 - 0x1526]
  4626. 00002EA0  BE6D EADC                cmp.w      D7, [A5 - 0x1524]
  4627. 00002EA4  6C38                     bge        +0x3A /* 00002EDE */
  4628. 00002EA6  3007                     move.w     D0, D7
  4629. 00002EA8  48C0                     ext.l      D0
  4630. 00002EAA  D080                     add.l      D0, D0
  4631. 00002EAC  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4632. 00002EB0  2040                     movea.l    A0, D0
  4633. 00002EB2  30AE FFFC                move.w     [A0], [A6 - 0x4]
  4634. 00002EB6  3047                     movea.w    A0, D7
  4635. 00002EB8  D1ED EACE                add.l      A0, [A5 - 0x1532]
  4636. 00002EBC  10AE FFFF                move.b     [A0], [A6 - 0x1]
  4637. label00002EC0:
  4638. 00002EC0  5247                     addq.w     D7, 1
  4639. 00002EC2  BE6D EADC                cmp.w      D7, [A5 - 0x1524]
  4640. 00002EC6  6C12                     bge        +0x14 /* 00002EDA */
  4641. 00002EC8  3007                     move.w     D0, D7
  4642. 00002ECA  48C0                     ext.l      D0
  4643. 00002ECC  D080                     add.l      D0, D0
  4644. 00002ECE  D0AD EACA                add.l      D0, [A5 - 0x1536]
  4645. 00002ED2  2040                     movea.l    A0, D0
  4646. 00002ED4  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  4647. 00002ED8  66E6                     bne        -0x18 /* 00002EC0 */
  4648. label00002EDA:
  4649. 00002EDA  3B47 EADA                move.w     [A5 - 0x1526], D7
  4650. label00002EDE:
  4651. 00002EDE  3D6E FFFA FFFC           move.w     [A6 - 0x4], [A6 - 0x6]
  4652. label00002EE4:
  4653. 00002EE4  4A2D A79A                tst.b      [A5 - 0x5866]
  4654. 00002EE8  6700 FDB6                beq        -0x248 /* 00002CA0 */
  4655. label00002EEC:
  4656. 00002EEC  4CDF 00C0                movem.l    D7,D6, [A7]+
  4657. 00002EF0  4E5E                     unlink     A6
  4658. 00002EF2  4E75                     rts
  4659. 00002EF4  554E                     subq.w     A6, 2
  4660. 00002EF6  5348                     subq.w     A0, 1
  4661. 00002EF8  5249                     addq.w     A1, 1
  4662. 00002EFA  4E4B                     trap       11
  4663. fn00002EFC:
  4664. 00002EFC  4E56 0000                link       A6, 0
  4665. 00002F00  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  4666. 00002F04  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  4667. 00002F08  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  4668. 00002F0C  4EBA F196                jsr        [PC - 0xE6A /* 000020A4 */]
  4669. 00002F10  508F                     addq.l     A7, 8
  4670. 00002F12  306E 0008                movea.w    A0, [A6 + 0x8]
  4671. 00002F16  D1EE 000A                add.l      A0, [A6 + 0xA]
  4672. 00002F1A  4210                     clr.b      [A0]
  4673. 00002F1C  4E5E                     unlink     A6
  4674. 00002F1E  4E75                     rts
  4675. 00002F20  4745                     chk.w      D3, D5
  4676. 00002F22  5453                     addq.w     [A3], 2
  4677. 00002F24  5452                     addq.w     [A2], 2
  4678. 00002F26  494E                     chk.w      D4, A6
  4679. fn00002F28:
  4680. 00002F28  4E56 0000                link       A6, 0
  4681. 00002F2C  48E7 0118                movem.l    -[A7], D7,A3,A4
  4682. 00002F30  286E 0008                movea.l    A4, [A6 + 0x8]
  4683. 00002F34  266E 000C                movea.l    A3, [A6 + 0xC]
  4684. 00002F38  3E2E 0010                move.w     D7, [A6 + 0x10]
  4685. 00002F3C  6008                     bra        +0xA /* 00002F46 */
  4686. label00002F3E:
  4687. 00002F3E  1893                     move.b     [A4], [A3]
  4688. 00002F40  5347                     subq.w     D7, 1
  4689. 00002F42  528C                     addq.l     A4, 1
  4690. 00002F44  528B                     addq.l     A3, 1
  4691. label00002F46:
  4692. 00002F46  4A47                     tst.w      D7
  4693. 00002F48  62F4                     bhi        -0xA /* 00002F3E */
  4694. 00002F4A  4CDF 1880                movem.l    A4,A3,D7, [A7]+
  4695. 00002F4E  4E5E                     unlink     A6
  4696. 00002F50  4E75                     rts
  4697. 00002F52  4D45                     chk.w      D6, D5
  4698. 00002F54  4D43                     chk.w      D6, D3
  4699. 00002F56  5059                     addq.w     [A1]+, 8
  4700. 00002F58  2020                     move.l     D0, -[A0]
  4701. fn00002F5A:
  4702. 00002F5A  4EBA 0BD4                jsr        [PC + 0xBD4 /* 00003B30 */]
  4703. 00002F5E  486D F98A                pea.l      [A5 - 0x676]
  4704. 00002F62  4EBA DFA0                jsr        [PC - 0x2060 /* 00000F04 */]
  4705. 00002F66  588F                     addq.l     A7, 4
  4706. 00002F68  4E75                     rts
  4707. fn00002F6A:
  4708. 00002F6A  4E56 FFFE                link       A6, -0x0002
  4709. 00002F6E  302E 0016                move.w     D0, [A6 + 0x16]
  4710. 00002F72  5340                     subq.w     D0, 1
  4711. 00002F74  3D40 FFFE                move.w     [A6 - 0x2], D0
  4712. 00002F78  6000 00B2                bra        +0xB4 /* 0000302C */
  4713. label00002F7C:
  4714. 00002F7C  302E 0010                move.w     D0, [A6 + 0x10]
  4715. 00002F80  B06E 0012                cmp.w      D0, [A6 + 0x12]
  4716. 00002F84  6E0A                     bgt        +0xC /* 00002F90 */
  4717. 00002F86  4EBA FFD2                jsr        [PC - 0x2E /* 00002F5A */]
  4718. 00002F8A  7001                     moveq.l    D0, 0x01
  4719. 00002F8C  6000 0114                bra        +0x116 /* 000030A2 */
  4720. label00002F90:
  4721. 00002F90  302E 0014                move.w     D0, [A6 + 0x14]
  4722. 00002F94  322E FFFE                move.w     D1, [A6 - 0x2]
  4723. 00002F98  E260                     asr        D0.w, D1
  4724. 00002F9A  0800 0000                btst.b     D0, 0x0
  4725. 00002F9E  6748                     beq        +0x4A /* 00002FE8 */
  4726. 00002FA0  302E 0010                move.w     D0, [A6 + 0x10]
  4727. 00002FA4  48C0                     ext.l      D0
  4728. 00002FA6  E580                     asl        D0, 2
  4729. 00002FA8  D0AE 0008                add.l      D0, [A6 + 0x8]
  4730. 00002FAC  2040                     movea.l    A0, D0
  4731. 00002FAE  0C68 FFFF 0002           cmpi.w     [A0 + 0x2], 0xFFFF
  4732. 00002FB4  661C                     bne        +0x1E /* 00002FD2 */
  4733. 00002FB6  302E 0010                move.w     D0, [A6 + 0x10]
  4734. 00002FBA  48C0                     ext.l      D0
  4735. 00002FBC  E580                     asl        D0, 2
  4736. 00002FBE  D0AE 0008                add.l      D0, [A6 + 0x8]
  4737. 00002FC2  206E 000C                movea.l    A0, [A6 + 0xC]
  4738. 00002FC6  2240                     movea.l    A1, D0
  4739. 00002FC8  3350 0002                move.w     [A1 + 0x2], [A0]
  4740. 00002FCC  206E 000C                movea.l    A0, [A6 + 0xC]
  4741. 00002FD0  5350                     subq.w     [A0], 1
  4742. label00002FD2:
  4743. 00002FD2  302E 0010                move.w     D0, [A6 + 0x10]
  4744. 00002FD6  48C0                     ext.l      D0
  4745. 00002FD8  E580                     asl        D0, 2
  4746. 00002FDA  D0AE 0008                add.l      D0, [A6 + 0x8]
  4747. 00002FDE  2040                     movea.l    A0, D0
  4748. 00002FE0  3D68 0002 0010           move.w     [A6 + 0x10], [A0 + 0x2]
  4749. 00002FE6  6040                     bra        +0x42 /* 00003028 */
  4750. label00002FE8:
  4751. 00002FE8  302E 0010                move.w     D0, [A6 + 0x10]
  4752. 00002FEC  48C0                     ext.l      D0
  4753. 00002FEE  E580                     asl        D0, 2
  4754. 00002FF0  D0AE 0008                add.l      D0, [A6 + 0x8]
  4755. 00002FF4  2040                     movea.l    A0, D0
  4756. 00002FF6  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  4757. 00002FFA  661A                     bne        +0x1C /* 00003016 */
  4758. 00002FFC  302E 0010                move.w     D0, [A6 + 0x10]
  4759. 00003000  48C0                     ext.l      D0
  4760. 00003002  E580                     asl        D0, 2
  4761. 00003004  D0AE 0008                add.l      D0, [A6 + 0x8]
  4762. 00003008  206E 000C                movea.l    A0, [A6 + 0xC]
  4763. 0000300C  2240                     movea.l    A1, D0
  4764. 0000300E  3290                     move.w     [A1], [A0]
  4765. 00003010  206E 000C                movea.l    A0, [A6 + 0xC]
  4766. 00003014  5350                     subq.w     [A0], 1
  4767. label00003016:
  4768. 00003016  302E 0010                move.w     D0, [A6 + 0x10]
  4769. 0000301A  48C0                     ext.l      D0
  4770. 0000301C  E580                     asl        D0, 2
  4771. 0000301E  D0AE 0008                add.l      D0, [A6 + 0x8]
  4772. 00003022  2040                     movea.l    A0, D0
  4773. 00003024  3D50 0010                move.w     [A6 + 0x10], [A0]
  4774. label00003028:
  4775. 00003028  536E FFFE                subq.w     [A6 - 0x2], 1
  4776. label0000302C:
  4777. 0000302C  0C6E 0001 FFFE           cmpi.w     [A6 - 0x2], 0x1
  4778. 00003032  6C00 FF48                bge        -0xB6 /* 00002F7C */
  4779. 00003036  082E 0000 0015           btst.b     [A6 + 0x15], 0x0
  4780. 0000303C  6734                     beq        +0x36 /* 00003072 */
  4781. 0000303E  302E 0010                move.w     D0, [A6 + 0x10]
  4782. 00003042  48C0                     ext.l      D0
  4783. 00003044  E580                     asl        D0, 2
  4784. 00003046  D0AE 0008                add.l      D0, [A6 + 0x8]
  4785. 0000304A  2040                     movea.l    A0, D0
  4786. 0000304C  0C68 FFFF 0002           cmpi.w     [A0 + 0x2], 0xFFFF
  4787. 00003052  6708                     beq        +0xA /* 0000305C */
  4788. 00003054  4EBA FF04                jsr        [PC - 0xFC /* 00002F5A */]
  4789. 00003058  7001                     moveq.l    D0, 0x01
  4790. 0000305A  6046                     bra        +0x48 /* 000030A2 */
  4791. label0000305C:
  4792. 0000305C  302E 0010                move.w     D0, [A6 + 0x10]
  4793. 00003060  48C0                     ext.l      D0
  4794. 00003062  E580                     asl        D0, 2
  4795. 00003064  D0AE 0008                add.l      D0, [A6 + 0x8]
  4796. 00003068  2040                     movea.l    A0, D0
  4797. 0000306A  316E 0018 0002           move.w     [A0 + 0x2], [A6 + 0x18]
  4798. 00003070  602E                     bra        +0x30 /* 000030A0 */
  4799. label00003072:
  4800. 00003072  302E 0010                move.w     D0, [A6 + 0x10]
  4801. 00003076  48C0                     ext.l      D0
  4802. 00003078  E580                     asl        D0, 2
  4803. 0000307A  D0AE 0008                add.l      D0, [A6 + 0x8]
  4804. 0000307E  2040                     movea.l    A0, D0
  4805. 00003080  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  4806. 00003084  6708                     beq        +0xA /* 0000308E */
  4807. 00003086  4EBA FED2                jsr        [PC - 0x12E /* 00002F5A */]
  4808. 0000308A  7001                     moveq.l    D0, 0x01
  4809. 0000308C  6014                     bra        +0x16 /* 000030A2 */
  4810. label0000308E:
  4811. 0000308E  302E 0010                move.w     D0, [A6 + 0x10]
  4812. 00003092  48C0                     ext.l      D0
  4813. 00003094  E580                     asl        D0, 2
  4814. 00003096  D0AE 0008                add.l      D0, [A6 + 0x8]
  4815. 0000309A  2040                     movea.l    A0, D0
  4816. 0000309C  30AE 0018                move.w     [A0], [A6 + 0x18]
  4817. label000030A0:
  4818. 000030A0  7000                     moveq.l    D0, 0x00
  4819. label000030A2:
  4820. 000030A2  4E5E                     unlink     A6
  4821. 000030A4  4E75                     rts
  4822. 000030A6  4144                     chk.w      D0, D4
  4823. 000030A8  4453                     neg.w      [A3]
  4824. 000030AA  4653                     not.w      [A3]
  4825. 000030AC  5542                     subq.w     D2, 2
  4826. fn000030AE:
  4827. 000030AE  4E56 F9E4                link       A6, -0x061C
  4828. 000030B2  7001                     moveq.l    D0, 0x01
  4829. 000030B4  1D40 F9E5                move.b     [A6 - 0x61B], D0
  4830. 000030B8  426E F9F2                clr.w      [A6 - 0x60E]
  4831. 000030BC  426E F9F0                clr.w      [A6 - 0x610]
  4832. 000030C0  486E F9F4                pea.l      [A6 - 0x60C]
  4833. 000030C4  4EBA F508                jsr        [PC - 0xAF8 /* 000025CE */]
  4834. 000030C8  588F                     addq.l     A7, 4
  4835. 000030CA  4A40                     tst.w      D0
  4836. 000030CC  6610                     bne        +0x12 /* 000030DE */
  4837. 000030CE  486D F9C0                pea.l      [A5 - 0x640]
  4838. 000030D2  4EBA DE30                jsr        [PC - 0x21D0 /* 00000F04 */]
  4839. 000030D6  588F                     addq.l     A7, 4
  4840. 000030D8  7001                     moveq.l    D0, 0x01
  4841. 000030DA  6000 02A6                bra        +0x2A8 /* 00003382 */
  4842. label000030DE:
  4843. 000030DE  426E F9E8                clr.w      [A6 - 0x618]
  4844. 000030E2  6000 0080                bra        +0x82 /* 00003164 */
  4845. label000030E6:
  4846. 000030E6  486E F9F8                pea.l      [A6 - 0x608]
  4847. 000030EA  4EBA F4E2                jsr        [PC - 0xB1E /* 000025CE */]
  4848. 000030EE  588F                     addq.l     A7, 4
  4849. 000030F0  4A40                     tst.w      D0
  4850. 000030F2  6610                     bne        +0x12 /* 00003104 */
  4851. 000030F4  486D F9EE                pea.l      [A5 - 0x612]
  4852. 000030F8  4EBA DE0A                jsr        [PC - 0x21F6 /* 00000F04 */]
  4853. 000030FC  588F                     addq.l     A7, 4
  4854. 000030FE  7001                     moveq.l    D0, 0x01
  4855. 00003100  6000 0280                bra        +0x282 /* 00003382 */
  4856. label00003104:
  4857. 00003104  700F                     moveq.l    D0, 0x0F
  4858. 00003106  C06E F9F8                and.w      D0, [A6 - 0x608]
  4859. 0000310A  5240                     addq.w     D0, 1
  4860. 0000310C  1D40 F9F7                move.b     [A6 - 0x609], D0
  4861. 00003110  302E F9F8                move.w     D0, [A6 - 0x608]
  4862. 00003114  E840                     asr        D0.w, 4
  4863. 00003116  0240 000F                andi.w     D0, 0xF
  4864. 0000311A  1D40 F9F6                move.b     [A6 - 0x60A], D0
  4865. 0000311E  426E F9E6                clr.w      [A6 - 0x61A]
  4866. 00003122  6030                     bra        +0x32 /* 00003154 */
  4867. label00003124:
  4868. 00003124  302E F9F2                move.w     D0, [A6 - 0x60E]
  4869. 00003128  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4870. 0000312A  0006 D08E                ori.b      D6, 0x8E
  4871. 0000312E  2040                     movea.l    A0, D0
  4872. 00003130  102E F9F7                move.b     D0, [A6 - 0x609]
  4873. 00003134  4880                     ext.w      D0
  4874. 00003136  3140 FA00                move.w     [A0 - 0x600], D0
  4875. 0000313A  302E F9F2                move.w     D0, [A6 - 0x60E]
  4876. 0000313E  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4877. 00003140  0006 D08E                ori.b      D6, 0x8E
  4878. 00003144  2040                     movea.l    A0, D0
  4879. 00003146  316E F9F2 FA02           move.w     [A0 - 0x5FE], [A6 - 0x60E]
  4880. 0000314C  526E F9F2                addq.w     [A6 - 0x60E], 1
  4881. 00003150  526E F9E6                addq.w     [A6 - 0x61A], 1
  4882. label00003154:
  4883. 00003154  102E F9F6                move.b     D0, [A6 - 0x60A]
  4884. 00003158  4880                     ext.w      D0
  4885. 0000315A  B06E F9E6                cmp.w      D0, [A6 - 0x61A]
  4886. 0000315E  6CC4                     bge        -0x3A /* 00003124 */
  4887. 00003160  526E F9E8                addq.w     [A6 - 0x618], 1
  4888. label00003164:
  4889. 00003164  302E F9E8                move.w     D0, [A6 - 0x618]
  4890. 00003168  B06E F9F4                cmp.w      D0, [A6 - 0x60C]
  4891. 0000316C  6F00 FF78                ble        -0x86 /* 000030E6 */
  4892. 00003170  302E F9F2                move.w     D0, [A6 - 0x60E]
  4893. 00003174  5340                     subq.w     D0, 1
  4894. 00003176  3D40 F9F0                move.w     [A6 - 0x610], D0
  4895. 0000317A  6000 0120                bra        +0x122 /* 0000329C */
  4896. label0000317E:
  4897. 0000317E  422E F9E5                clr.b      [A6 - 0x61B]
  4898. 00003182  426E F9E8                clr.w      [A6 - 0x618]
  4899. 00003186  6000 0108                bra        +0x10A /* 00003290 */
  4900. label0000318A:
  4901. 0000318A  302E F9E8                move.w     D0, [A6 - 0x618]
  4902. 0000318E  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4903. 00003190  0006 D08E                ori.b      D6, 0x8E
  4904. 00003194  322E F9E8                move.w     D1, [A6 - 0x618]
  4905. 00003198  5241                     addq.w     D1, 1
  4906. 0000319A  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  4907. 0000319C  0006 D28E                ori.b      D6, 0x8E
  4908. 000031A0  2041                     movea.l    A0, D1
  4909. 000031A2  2240                     movea.l    A1, D0
  4910. 000031A4  3029 FA00                move.w     D0, [A1 - 0x600]
  4911. 000031A8  B068 FA00                cmp.w      D0, [A0 - 0x600]
  4912. 000031AC  6E4C                     bgt        +0x4E /* 000031FA */
  4913. 000031AE  302E F9E8                move.w     D0, [A6 - 0x618]
  4914. 000031B2  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4915. 000031B4  0006 D08E                ori.b      D6, 0x8E
  4916. 000031B8  322E F9E8                move.w     D1, [A6 - 0x618]
  4917. 000031BC  5241                     addq.w     D1, 1
  4918. 000031BE  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  4919. 000031C0  0006 D28E                ori.b      D6, 0x8E
  4920. 000031C4  2041                     movea.l    A0, D1
  4921. 000031C6  2240                     movea.l    A1, D0
  4922. 000031C8  3029 FA00                move.w     D0, [A1 - 0x600]
  4923. 000031CC  B068 FA00                cmp.w      D0, [A0 - 0x600]
  4924. 000031D0  6600 00BA                bne        +0xBC /* 0000328C */
  4925. 000031D4  302E F9E8                move.w     D0, [A6 - 0x618]
  4926. 000031D8  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4927. 000031DA  0006 D08E                ori.b      D6, 0x8E
  4928. 000031DE  322E F9E8                move.w     D1, [A6 - 0x618]
  4929. 000031E2  5241                     addq.w     D1, 1
  4930. 000031E4  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  4931. 000031E6  0006 D28E                ori.b      D6, 0x8E
  4932. 000031EA  2041                     movea.l    A0, D1
  4933. 000031EC  2240                     movea.l    A1, D0
  4934. 000031EE  3029 FA02                move.w     D0, [A1 - 0x5FE]
  4935. 000031F2  B068 FA02                cmp.w      D0, [A0 - 0x5FE]
  4936. 000031F6  6F00 0094                ble        +0x96 /* 0000328C */
  4937. label000031FA:
  4938. 000031FA  302E F9E8                move.w     D0, [A6 - 0x618]
  4939. 000031FE  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4940. 00003200  0006 D08E                ori.b      D6, 0x8E
  4941. 00003204  2040                     movea.l    A0, D0
  4942. 00003206  3D68 FA00 F9FA           move.w     [A6 - 0x606], [A0 - 0x600]
  4943. 0000320C  302E F9E8                move.w     D0, [A6 - 0x618]
  4944. 00003210  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4945. 00003212  0006 D08E                ori.b      D6, 0x8E
  4946. 00003216  2040                     movea.l    A0, D0
  4947. 00003218  3D68 FA02 F9FC           move.w     [A6 - 0x604], [A0 - 0x5FE]
  4948. 0000321E  302E F9E8                move.w     D0, [A6 - 0x618]
  4949. 00003222  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4950. 00003224  0006 D08E                ori.b      D6, 0x8E
  4951. 00003228  322E F9E8                move.w     D1, [A6 - 0x618]
  4952. 0000322C  5241                     addq.w     D1, 1
  4953. 0000322E  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  4954. 00003230  0006 D28E                ori.b      D6, 0x8E
  4955. 00003234  2041                     movea.l    A0, D1
  4956. 00003236  2240                     movea.l    A1, D0
  4957. 00003238  3368 FA00 FA00           move.w     [A1 - 0x600], [A0 - 0x600]
  4958. 0000323E  302E F9E8                move.w     D0, [A6 - 0x618]
  4959. 00003242  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4960. 00003244  0006 D08E                ori.b      D6, 0x8E
  4961. 00003248  322E F9E8                move.w     D1, [A6 - 0x618]
  4962. 0000324C  5241                     addq.w     D1, 1
  4963. 0000324E  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  4964. 00003250  0006 D28E                ori.b      D6, 0x8E
  4965. 00003254  2041                     movea.l    A0, D1
  4966. 00003256  2240                     movea.l    A1, D0
  4967. 00003258  3368 FA02 FA02           move.w     [A1 - 0x5FE], [A0 - 0x5FE]
  4968. 0000325E  302E F9E8                move.w     D0, [A6 - 0x618]
  4969. 00003262  5240                     addq.w     D0, 1
  4970. 00003264  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4971. 00003266  0006 D08E                ori.b      D6, 0x8E
  4972. 0000326A  2040                     movea.l    A0, D0
  4973. 0000326C  316E F9FA FA00           move.w     [A0 - 0x600], [A6 - 0x606]
  4974. 00003272  302E F9E8                move.w     D0, [A6 - 0x618]
  4975. 00003276  5240                     addq.w     D0, 1
  4976. 00003278  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  4977. 0000327A  0006 D08E                ori.b      D6, 0x8E
  4978. 0000327E  2040                     movea.l    A0, D0
  4979. 00003280  316E F9FC FA02           move.w     [A0 - 0x5FE], [A6 - 0x604]
  4980. 00003286  7001                     moveq.l    D0, 0x01
  4981. 00003288  1D40 F9E5                move.b     [A6 - 0x61B], D0
  4982. label0000328C:
  4983. 0000328C  526E F9E8                addq.w     [A6 - 0x618], 1
  4984. label00003290:
  4985. 00003290  302E F9E8                move.w     D0, [A6 - 0x618]
  4986. 00003294  B06E F9F0                cmp.w      D0, [A6 - 0x610]
  4987. 00003298  6D00 FEF0                blt        -0x10E /* 0000318A */
  4988. label0000329C:
  4989. 0000329C  4A2E F9E5                tst.b      [A6 - 0x61B]
  4990. 000032A0  6600 FEDC                bne        -0x122 /* 0000317E */
  4991. 000032A4  426E F9EE                clr.w      [A6 - 0x612]
  4992. 000032A8  426E F9EC                clr.w      [A6 - 0x614]
  4993. 000032AC  426E F9EA                clr.w      [A6 - 0x616]
  4994. 000032B0  3D6E F9F0 F9E8           move.w     [A6 - 0x618], [A6 - 0x610]
  4995. 000032B6  6000 00C0                bra        +0xC2 /* 00003378 */
  4996. label000032BA:
  4997. 000032BA  302E F9EE                move.w     D0, [A6 - 0x612]
  4998. 000032BE  D06E F9EC                add.w      D0, [A6 - 0x614]
  4999. 000032C2  3D40 F9EE                move.w     [A6 - 0x612], D0
  5000. 000032C6  302E F9E8                move.w     D0, [A6 - 0x618]
  5001. 000032CA  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5002. 000032CC  0006 D08E                ori.b      D6, 0x8E
  5003. 000032D0  2040                     movea.l    A0, D0
  5004. 000032D2  3028 FA00                move.w     D0, [A0 - 0x600]
  5005. 000032D6  B06E F9EA                cmp.w      D0, [A6 - 0x616]
  5006. 000032DA  6720                     beq        +0x22 /* 000032FC */
  5007. 000032DC  302E F9E8                move.w     D0, [A6 - 0x618]
  5008. 000032E0  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5009. 000032E2  0006 D08E                ori.b      D6, 0x8E
  5010. 000032E6  2040                     movea.l    A0, D0
  5011. 000032E8  3D68 FA00 F9EA           move.w     [A6 - 0x616], [A0 - 0x600]
  5012. 000032EE  7010                     moveq.l    D0, 0x10
  5013. 000032F0  906E F9EA                sub.w      D0, [A6 - 0x616]
  5014. 000032F4  7201                     moveq.l    D1, 0x01
  5015. 000032F6  E169                     lsl        D1.w, D0
  5016. 000032F8  3D41 F9EC                move.w     [A6 - 0x614], D1
  5017. label000032FC:
  5018. 000032FC  302E F9E8                move.w     D0, [A6 - 0x618]
  5019. 00003300  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5020. 00003302  0006 D08E                ori.b      D6, 0x8E
  5021. 00003306  322E F9E8                move.w     D1, [A6 - 0x618]
  5022. 0000330A  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  5023. 0000330C  0006 D28E                ori.b      D6, 0x8E
  5024. 00003310  2041                     movea.l    A0, D1
  5025. 00003312  7210                     moveq.l    D1, 0x10
  5026. 00003314  9268 FA00                sub.w      D1, [A0 - 0x600]
  5027. 00003318  342E F9EE                move.w     D2, [A6 - 0x612]
  5028. 0000331C  E26A                     lsr        D2.w, D1
  5029. 0000331E  2040                     movea.l    A0, D0
  5030. 00003320  3142 FA04                move.w     [A0 - 0x5FC], D2
  5031. 00003324  302E F9E8                move.w     D0, [A6 - 0x618]
  5032. 00003328  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5033. 0000332A  0006 D08E                ori.b      D6, 0x8E
  5034. 0000332E  322E F9E8                move.w     D1, [A6 - 0x618]
  5035. 00003332  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  5036. 00003334  0006 D28E                ori.b      D6, 0x8E
  5037. 00003338  342E F9E8                move.w     D2, [A6 - 0x618]
  5038. 0000333C  C5FC                     muls.w     D2, 0xFFFFFFFFFFFFFFFF
  5039. 0000333E  0006 D48E                ori.b      D6, 0x8E
  5040. 00003342  2042                     movea.l    A0, D2
  5041. 00003344  3F28 FA02                move.w     -[A7], [A0 - 0x5FE]
  5042. 00003348  2041                     movea.l    A0, D1
  5043. 0000334A  3F28 FA00                move.w     -[A7], [A0 - 0x600]
  5044. 0000334E  2040                     movea.l    A0, D0
  5045. 00003350  3F28 FA04                move.w     -[A7], [A0 - 0x5FC]
  5046. 00003354  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  5047. 00003358  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  5048. 0000335C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  5049. 00003360  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5050. 00003364  4EBA FC04                jsr        [PC - 0x3FC /* 00002F6A */]
  5051. 00003368  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5052. 0000336C  4A00                     tst.b      D0
  5053. 0000336E  6704                     beq        +0x6 /* 00003374 */
  5054. 00003370  7001                     moveq.l    D0, 0x01
  5055. 00003372  600E                     bra        +0x10 /* 00003382 */
  5056. label00003374:
  5057. 00003374  536E F9E8                subq.w     [A6 - 0x618], 1
  5058. label00003378:
  5059. 00003378  4A6E F9E8                tst.w      [A6 - 0x618]
  5060. 0000337C  6C00 FF3C                bge        -0xC2 /* 000032BA */
  5061. 00003380  7000                     moveq.l    D0, 0x00
  5062. label00003382:
  5063. 00003382  4E5E                     unlink     A6
  5064. 00003384  4E75                     rts
  5065. 00003386  434F                     chk.w      D1, A7
  5066. 00003388  4E53 5452                link       A3, -0xFFFFABAE
  5067. 0000338C  5543                     subq.w     D3, 2
  5068. fn0000338E:
  5069. 0000338E  4E56 FFFE                link       A6, -0x0002
  5070. 00003392  302D A7A0                move.w     D0, [A5 - 0x5860]
  5071. 00003396  E248                     lsr        D0.w, 1
  5072. 00003398  0240 0001                andi.w     D0, 0x1
  5073. 0000339C  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5074. 0000339E  1000                     move.b     D0, D0
  5075. 000033A0  0640 1000                addi.w     D0, 0x1000
  5076. 000033A4  3B40 F6EC                move.w     [A5 - 0x914], D0
  5077. 000033A8  302D A7A0                move.w     D0, [A5 - 0x5860]
  5078. 000033AC  E448                     lsr        D0.w, 2
  5079. 000033AE  0240 0001                andi.w     D0, 0x1
  5080. 000033B2  5440                     addq.w     D0, 2
  5081. 000033B4  3B40 F6E8                move.w     [A5 - 0x918], D0
  5082. 000033B8  3B6D F6E8 F6EA           move.w     [A5 - 0x916], [A5 - 0x918]
  5083. 000033BE  426E FFFE                clr.w      [A6 - 0x2]
  5084. 000033C2  602A                     bra        +0x2C /* 000033EE */
  5085. label000033C4:
  5086. 000033C4  302E FFFE                move.w     D0, [A6 - 0x2]
  5087. 000033C8  48C0                     ext.l      D0
  5088. 000033CA  E580                     asl        D0, 2
  5089. 000033CC  41ED F4E2                lea.l      A0, [A5 - 0xB1E]
  5090. 000033D0  D1C0                     add.l      A0, D0
  5091. 000033D2  70FF                     moveq.l    D0, 0xFFFFFFFF
  5092. 000033D4  3080                     move.w     [A0], D0
  5093. 000033D6  302E FFFE                move.w     D0, [A6 - 0x2]
  5094. 000033DA  48C0                     ext.l      D0
  5095. 000033DC  E580                     asl        D0, 2
  5096. 000033DE  41ED F4E2                lea.l      A0, [A5 - 0xB1E]
  5097. 000033E2  D1C0                     add.l      A0, D0
  5098. 000033E4  70FF                     moveq.l    D0, 0xFFFFFFFF
  5099. 000033E6  3140 0002                move.w     [A0 + 0x2], D0
  5100. 000033EA  526E FFFE                addq.w     [A6 - 0x2], 1
  5101. label000033EE:
  5102. 000033EE  0C6E 007F FFFE           cmpi.w     [A6 - 0x2], 0x7F
  5103. 000033F4  6FCE                     ble        -0x30 /* 000033C4 */
  5104. 000033F6  707E                     moveq.l    D0, 0x7E
  5105. 000033F8  3B40 F6E4                move.w     [A5 - 0x91C], D0
  5106. 000033FC  426E FFFE                clr.w      [A6 - 0x2]
  5107. 00003400  602A                     bra        +0x2C /* 0000342C */
  5108. label00003402:
  5109. 00003402  302E FFFE                move.w     D0, [A6 - 0x2]
  5110. 00003406  48C0                     ext.l      D0
  5111. 00003408  E580                     asl        D0, 2
  5112. 0000340A  41ED F2E2                lea.l      A0, [A5 - 0xD1E]
  5113. 0000340E  D1C0                     add.l      A0, D0
  5114. 00003410  70FF                     moveq.l    D0, 0xFFFFFFFF
  5115. 00003412  3080                     move.w     [A0], D0
  5116. 00003414  302E FFFE                move.w     D0, [A6 - 0x2]
  5117. 00003418  48C0                     ext.l      D0
  5118. 0000341A  E580                     asl        D0, 2
  5119. 0000341C  41ED F2E2                lea.l      A0, [A5 - 0xD1E]
  5120. 00003420  D1C0                     add.l      A0, D0
  5121. 00003422  70FF                     moveq.l    D0, 0xFFFFFFFF
  5122. 00003424  3140 0002                move.w     [A0 + 0x2], D0
  5123. 00003428  526E FFFE                addq.w     [A6 - 0x2], 1
  5124. label0000342C:
  5125. 0000342C  0C6E 007F FFFE           cmpi.w     [A6 - 0x2], 0x7F
  5126. 00003432  6FCE                     ble        -0x30 /* 00003402 */
  5127. 00003434  707E                     moveq.l    D0, 0x7E
  5128. 00003436  3B40 F6E6                move.w     [A5 - 0x91A], D0
  5129. 0000343A  0C6D 0003 F6E8           cmpi.w     [A5 - 0x918], 0x3
  5130. 00003440  6600 0060                bne        +0x62 /* 000034A2 */
  5131. 00003444  426E FFFE                clr.w      [A6 - 0x2]
  5132. 00003448  602A                     bra        +0x2C /* 00003474 */
  5133. label0000344A:
  5134. 0000344A  302E FFFE                move.w     D0, [A6 - 0x2]
  5135. 0000344E  48C0                     ext.l      D0
  5136. 00003450  E580                     asl        D0, 2
  5137. 00003452  41ED EAE2                lea.l      A0, [A5 - 0x151E]
  5138. 00003456  D1C0                     add.l      A0, D0
  5139. 00003458  70FF                     moveq.l    D0, 0xFFFFFFFF
  5140. 0000345A  3080                     move.w     [A0], D0
  5141. 0000345C  302E FFFE                move.w     D0, [A6 - 0x2]
  5142. 00003460  48C0                     ext.l      D0
  5143. 00003462  E580                     asl        D0, 2
  5144. 00003464  41ED EAE2                lea.l      A0, [A5 - 0x151E]
  5145. 00003468  D1C0                     add.l      A0, D0
  5146. 0000346A  70FF                     moveq.l    D0, 0xFFFFFFFF
  5147. 0000346C  3140 0002                move.w     [A0 + 0x2], D0
  5148. 00003470  526E FFFE                addq.w     [A6 - 0x2], 1
  5149. label00003474:
  5150. 00003474  0C6E 01FF FFFE           cmpi.w     [A6 - 0x2], 0x1FF
  5151. 0000347A  6FCE                     ble        -0x30 /* 0000344A */
  5152. 0000347C  3B7C 01FE F6E2           move.w     [A5 - 0x91E], 0x1FE
  5153. 00003482  3F3C 00FF                move.w     -[A7], 0xFF
  5154. 00003486  3F3C 01FF                move.w     -[A7], 0x1FF
  5155. 0000348A  486D F6E2                pea.l      [A5 - 0x91E]
  5156. 0000348E  486D EAE2                pea.l      [A5 - 0x151E]
  5157. 00003492  4EBA FC1A                jsr        [PC - 0x3E6 /* 000030AE */]
  5158. 00003496  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5159. 0000349A  4A00                     tst.b      D0
  5160. 0000349C  6704                     beq        +0x6 /* 000034A2 */
  5161. 0000349E  7001                     moveq.l    D0, 0x01
  5162. 000034A0  6042                     bra        +0x44 /* 000034E4 */
  5163. label000034A2:
  5164. 000034A2  3F3C 003F                move.w     -[A7], 0x3F /* '?' */
  5165. 000034A6  3F3C 007F                move.w     -[A7], 0x7F
  5166. 000034AA  486D F6E4                pea.l      [A5 - 0x91C]
  5167. 000034AE  486D F4E2                pea.l      [A5 - 0xB1E]
  5168. 000034B2  4EBA FBFA                jsr        [PC - 0x406 /* 000030AE */]
  5169. 000034B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5170. 000034BA  4A00                     tst.b      D0
  5171. 000034BC  6704                     beq        +0x6 /* 000034C2 */
  5172. 000034BE  7001                     moveq.l    D0, 0x01
  5173. 000034C0  6022                     bra        +0x24 /* 000034E4 */
  5174. label000034C2:
  5175. 000034C2  3F3C 003F                move.w     -[A7], 0x3F /* '?' */
  5176. 000034C6  3F3C 007F                move.w     -[A7], 0x7F
  5177. 000034CA  486D F6E6                pea.l      [A5 - 0x91A]
  5178. 000034CE  486D F2E2                pea.l      [A5 - 0xD1E]
  5179. 000034D2  4EBA FBDA                jsr        [PC - 0x426 /* 000030AE */]
  5180. 000034D6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5181. 000034DA  4A00                     tst.b      D0
  5182. 000034DC  6704                     beq        +0x6 /* 000034E2 */
  5183. 000034DE  7001                     moveq.l    D0, 0x01
  5184. 000034E0  6002                     bra        +0x4 /* 000034E4 */
  5185. label000034E2:
  5186. 000034E2  7000                     moveq.l    D0, 0x00
  5187. label000034E4:
  5188. 000034E4  4E5E                     unlink     A6
  5189. 000034E6  4E75                     rts
  5190. 000034E8  494E                     chk.w      D4, A6
  5191. 000034EA  4954                     chk.w      D4, [A4]
  5192. 000034EC  4558                     chk.w      D2, [A0]+
  5193. 000034EE  504C                     addq.w     A4, 8
  5194. fn000034F0:
  5195. 000034F0  4E56 FFFE                link       A6, -0x0002
  5196. 000034F4  6000 0098                bra        +0x9A /* 0000358E */
  5197. label000034F8:
  5198. 000034F8  0C6D 0001 A798           cmpi.w     [A5 - 0x5868], 0x1
  5199. 000034FE  6D16                     blt        +0x18 /* 00003516 */
  5200. 00003500  302D A796                move.w     D0, [A5 - 0x586A]
  5201. 00003504  C06D F6F0                and.w      D0, [A5 - 0x910]
  5202. 00003508  3D40 FFFE                move.w     [A6 - 0x2], D0
  5203. 0000350C  E2ED A796                lsr   .w   [A5 - 0x586A]
  5204. 00003510  536D A798                subq.w     [A5 - 0x5868], 1
  5205. 00003514  600E                     bra        +0x10 /* 00003524 */
  5206. label00003516:
  5207. 00003516  3F3C 0001                move.w     -[A7], 0x1
  5208. 0000351A  4EBA F112                jsr        [PC - 0xEEE /* 0000262E */]
  5209. 0000351E  548F                     addq.l     A7, 2
  5210. 00003520  3D40 FFFE                move.w     [A6 - 0x2], D0
  5211. label00003524:
  5212. 00003524  4A6E FFFE                tst.w      [A6 - 0x2]
  5213. 00003528  6736                     beq        +0x38 /* 00003560 */
  5214. 0000352A  302E 000C                move.w     D0, [A6 + 0xC]
  5215. 0000352E  48C0                     ext.l      D0
  5216. 00003530  E580                     asl        D0, 2
  5217. 00003532  D0AE 0008                add.l      D0, [A6 + 0x8]
  5218. 00003536  2040                     movea.l    A0, D0
  5219. 00003538  0C68 FFFF 0002           cmpi.w     [A0 + 0x2], 0xFFFF
  5220. 0000353E  660A                     bne        +0xC /* 0000354A */
  5221. 00003540  4EBA FA18                jsr        [PC - 0x5E8 /* 00002F5A */]
  5222. 00003544  7001                     moveq.l    D0, 0x01
  5223. 00003546  6000 005C                bra        +0x5E /* 000035A4 */
  5224. label0000354A:
  5225. 0000354A  302E 000C                move.w     D0, [A6 + 0xC]
  5226. 0000354E  48C0                     ext.l      D0
  5227. 00003550  E580                     asl        D0, 2
  5228. 00003552  D0AE 0008                add.l      D0, [A6 + 0x8]
  5229. 00003556  2040                     movea.l    A0, D0
  5230. 00003558  3D68 0002 000C           move.w     [A6 + 0xC], [A0 + 0x2]
  5231. 0000355E  602E                     bra        +0x30 /* 0000358E */
  5232. label00003560:
  5233. 00003560  302E 000C                move.w     D0, [A6 + 0xC]
  5234. 00003564  48C0                     ext.l      D0
  5235. 00003566  E580                     asl        D0, 2
  5236. 00003568  D0AE 0008                add.l      D0, [A6 + 0x8]
  5237. 0000356C  2040                     movea.l    A0, D0
  5238. 0000356E  0C50 FFFF                cmpi.w     [A0], 0xFFFF
  5239. 00003572  6608                     bne        +0xA /* 0000357C */
  5240. 00003574  4EBA F9E4                jsr        [PC - 0x61C /* 00002F5A */]
  5241. 00003578  7001                     moveq.l    D0, 0x01
  5242. 0000357A  6028                     bra        +0x2A /* 000035A4 */
  5243. label0000357C:
  5244. 0000357C  302E 000C                move.w     D0, [A6 + 0xC]
  5245. 00003580  48C0                     ext.l      D0
  5246. 00003582  E580                     asl        D0, 2
  5247. 00003584  D0AE 0008                add.l      D0, [A6 + 0x8]
  5248. 00003588  2040                     movea.l    A0, D0
  5249. 0000358A  3D50 000C                move.w     [A6 + 0xC], [A0]
  5250. label0000358E:
  5251. 0000358E  302E 000C                move.w     D0, [A6 + 0xC]
  5252. 00003592  B06E 000E                cmp.w      D0, [A6 + 0xE]
  5253. 00003596  6E00 FF60                bgt        -0x9E /* 000034F8 */
  5254. 0000359A  206E 0010                movea.l    A0, [A6 + 0x10]
  5255. 0000359E  30AE 000C                move.w     [A0], [A6 + 0xC]
  5256. 000035A2  7000                     moveq.l    D0, 0x00
  5257. label000035A4:
  5258. 000035A4  4E5E                     unlink     A6
  5259. 000035A6  4E75                     rts
  5260. 000035A8  4445                     neg.w      D5
  5261. 000035AA  434F                     chk.w      D1, A7
  5262. 000035AC  4445                     neg.w      D5
  5263. 000035AE  5346                     subq.w     D6, 1
  5264. fn000035B0:
  5265. 000035B0  4E56 FFEC                link       A6, -0x0014
  5266. 000035B4  4EBA FDD8                jsr        [PC - 0x228 /* 0000338E */]
  5267. 000035B8  4A00                     tst.b      D0
  5268. 000035BA  6600 02FA                bne        +0x2FC /* 000038B6 */
  5269. 000035BE  426E FFFE                clr.w      [A6 - 0x2]
  5270. 000035C2  426E FFFC                clr.w      [A6 - 0x4]
  5271. 000035C6  426E FFEE                clr.w      [A6 - 0x12]
  5272. 000035CA  600E                     bra        +0x10 /* 000035DA */
  5273. label000035CC:
  5274. 000035CC  306E FFEE                movea.w    A0, [A6 - 0x12]
  5275. 000035D0  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  5276. 000035D4  4210                     clr.b      [A0]
  5277. 000035D6  526E FFEE                addq.w     [A6 - 0x12], 1
  5278. label000035DA:
  5279. 000035DA  0C6E 2001 FFEE           cmpi.w     [A6 - 0x12], 0x2001
  5280. 000035E0  6FEA                     ble        -0x14 /* 000035CC */
  5281. 000035E2  0C6D 2000 F6EC           cmpi.w     [A5 - 0x914], 0x2000 /* ' \0' */
  5282. 000035E8  57C0                     seq        D0
  5283. 000035EA  4400                     neg.b      D0
  5284. 000035EC  4880                     ext.w      D0
  5285. 000035EE  1D40 FFED                move.b     [A6 - 0x13], D0
  5286. 000035F2  0C6D 0003 F6E8           cmpi.w     [A5 - 0x918], 0x3
  5287. 000035F8  57C0                     seq        D0
  5288. 000035FA  4400                     neg.b      D0
  5289. 000035FC  4880                     ext.w      D0
  5290. 000035FE  1D40 FFEC                move.b     [A6 - 0x14], D0
  5291. 00003602  6000 029C                bra        +0x29E /* 000038A0 */
  5292. label00003606:
  5293. 00003606  0C6D 0001 A798           cmpi.w     [A5 - 0x5868], 0x1
  5294. 0000360C  6D16                     blt        +0x18 /* 00003624 */
  5295. 0000360E  302D A796                move.w     D0, [A5 - 0x586A]
  5296. 00003612  C06D F6F0                and.w      D0, [A5 - 0x910]
  5297. 00003616  3D40 FFF0                move.w     [A6 - 0x10], D0
  5298. 0000361A  E2ED A796                lsr   .w   [A5 - 0x586A]
  5299. 0000361E  536D A798                subq.w     [A5 - 0x5868], 1
  5300. 00003622  600E                     bra        +0x10 /* 00003632 */
  5301. label00003624:
  5302. 00003624  3F3C 0001                move.w     -[A7], 0x1
  5303. 00003628  4EBA F004                jsr        [PC - 0xFFC /* 0000262E */]
  5304. 0000362C  548F                     addq.l     A7, 2
  5305. 0000362E  3D40 FFF0                move.w     [A6 - 0x10], D0
  5306. label00003632:
  5307. 00003632  4A6E FFF0                tst.w      [A6 - 0x10]
  5308. 00003636  6700 009C                beq        +0x9E /* 000036D4 */
  5309. 0000363A  4A2E FFEC                tst.b      [A6 - 0x14]
  5310. 0000363E  6720                     beq        +0x22 /* 00003660 */
  5311. 00003640  486E FFF2                pea.l      [A6 - 0xE]
  5312. 00003644  3F3C 00FF                move.w     -[A7], 0xFF
  5313. 00003648  3F3C 01FF                move.w     -[A7], 0x1FF
  5314. 0000364C  486D EAE2                pea.l      [A5 - 0x151E]
  5315. 00003650  4EBA FE9E                jsr        [PC - 0x162 /* 000034F0 */]
  5316. 00003654  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5317. 00003658  4A00                     tst.b      D0
  5318. 0000365A  6600 025A                bne        +0x25C /* 000038B6 */
  5319. 0000365E  6032                     bra        +0x34 /* 00003692 */
  5320. label00003660:
  5321. 00003660  0C6D 0008 A798           cmpi.w     [A5 - 0x5868], 0x8
  5322. 00003666  6D1C                     blt        +0x1E /* 00003684 */
  5323. 00003668  302D A796                move.w     D0, [A5 - 0x586A]
  5324. 0000366C  C06D F6FE                and.w      D0, [A5 - 0x902]
  5325. 00003670  3D40 FFF2                move.w     [A6 - 0xE], D0
  5326. 00003674  302D A796                move.w     D0, [A5 - 0x586A]
  5327. 00003678  E048                     lsr        D0.w, 8
  5328. 0000367A  3B40 A796                move.w     [A5 - 0x586A], D0
  5329. 0000367E  516D A798                subq.w     [A5 - 0x5868], 8
  5330. 00003682  600E                     bra        +0x10 /* 00003692 */
  5331. label00003684:
  5332. 00003684  3F3C 0008                move.w     -[A7], 0x8
  5333. 00003688  4EBA EFA4                jsr        [PC - 0x105C /* 0000262E */]
  5334. 0000368C  548F                     addq.l     A7, 2
  5335. 0000368E  3D40 FFF2                move.w     [A6 - 0xE], D0
  5336. label00003692:
  5337. 00003692  206D A7BC                movea.l    A0, [A5 - 0x5844]
  5338. 00003696  52AD A7BC                addq.l     [A5 - 0x5844], 1
  5339. 0000369A  10AE FFF3                move.b     [A0], [A6 - 0xD]
  5340. 0000369E  526D A7C4                addq.w     [A5 - 0x583C], 1
  5341. 000036A2  302D A7C4                move.w     D0, [A5 - 0x583C]
  5342. 000036A6  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  5343. 000036AA  6604                     bne        +0x6 /* 000036B0 */
  5344. 000036AC  4EBA F008                jsr        [PC - 0xFF8 /* 000026B6 */]
  5345. label000036B0:
  5346. 000036B0  306E FFFC                movea.w    A0, [A6 - 0x4]
  5347. 000036B4  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  5348. 000036B8  10AE FFF3                move.b     [A0], [A6 - 0xD]
  5349. 000036BC  526E FFFC                addq.w     [A6 - 0x4], 1
  5350. 000036C0  302D F6EC                move.w     D0, [A5 - 0x914]
  5351. 000036C4  B06E FFFC                cmp.w      D0, [A6 - 0x4]
  5352. 000036C8  6600 01D6                bne        +0x1D8 /* 000038A0 */
  5353. 000036CC  426E FFFC                clr.w      [A6 - 0x4]
  5354. 000036D0  6000 01CE                bra        +0x1D0 /* 000038A0 */
  5355. label000036D4:
  5356. 000036D4  4A2E FFED                tst.b      [A6 - 0x13]
  5357. 000036D8  6700 0068                beq        +0x6A /* 00003742 */
  5358. 000036DC  0C6D 0007 A798           cmpi.w     [A5 - 0x5868], 0x7
  5359. 000036E2  6D1C                     blt        +0x1E /* 00003700 */
  5360. 000036E4  302D A796                move.w     D0, [A5 - 0x586A]
  5361. 000036E8  C06D F6FC                and.w      D0, [A5 - 0x904]
  5362. 000036EC  3D40 FFF4                move.w     [A6 - 0xC], D0
  5363. 000036F0  302D A796                move.w     D0, [A5 - 0x586A]
  5364. 000036F4  EE48                     lsr        D0.w, 7
  5365. 000036F6  3B40 A796                move.w     [A5 - 0x586A], D0
  5366. 000036FA  5F6D A798                subq.w     [A5 - 0x5868], 7
  5367. 000036FE  600E                     bra        +0x10 /* 0000370E */
  5368. label00003700:
  5369. 00003700  3F3C 0007                move.w     -[A7], 0x7
  5370. 00003704  4EBA EF28                jsr        [PC - 0x10D8 /* 0000262E */]
  5371. 00003708  548F                     addq.l     A7, 2
  5372. 0000370A  3D40 FFF4                move.w     [A6 - 0xC], D0
  5373. label0000370E:
  5374. 0000370E  486E FFF6                pea.l      [A6 - 0xA]
  5375. 00003712  3F3C 003F                move.w     -[A7], 0x3F /* '?' */
  5376. 00003716  3F3C 007F                move.w     -[A7], 0x7F
  5377. 0000371A  486D F2E2                pea.l      [A5 - 0xD1E]
  5378. 0000371E  4EBA FDD0                jsr        [PC - 0x230 /* 000034F0 */]
  5379. 00003722  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5380. 00003726  4A00                     tst.b      D0
  5381. 00003728  6600 018C                bne        +0x18E /* 000038B6 */
  5382. 0000372C  302E FFF6                move.w     D0, [A6 - 0xA]
  5383. 00003730  EF48                     lsl        D0.w, 7
  5384. 00003732  806E FFF4                or.w       D0, [A6 - 0xC]
  5385. 00003736  0240 1FFF                andi.w     D0, 0x1FFF
  5386. 0000373A  3D40 FFF4                move.w     [A6 - 0xC], D0
  5387. 0000373E  6000 0064                bra        +0x66 /* 000037A4 */
  5388. label00003742:
  5389. 00003742  0C6D 0006 A798           cmpi.w     [A5 - 0x5868], 0x6
  5390. 00003748  6D1C                     blt        +0x1E /* 00003766 */
  5391. 0000374A  302D A796                move.w     D0, [A5 - 0x586A]
  5392. 0000374E  C06D F6FA                and.w      D0, [A5 - 0x906]
  5393. 00003752  3D40 FFF4                move.w     [A6 - 0xC], D0
  5394. 00003756  302D A796                move.w     D0, [A5 - 0x586A]
  5395. 0000375A  EC48                     lsr        D0.w, 6
  5396. 0000375C  3B40 A796                move.w     [A5 - 0x586A], D0
  5397. 00003760  5D6D A798                subq.w     [A5 - 0x5868], 6
  5398. 00003764  600E                     bra        +0x10 /* 00003774 */
  5399. label00003766:
  5400. 00003766  3F3C 0006                move.w     -[A7], 0x6
  5401. 0000376A  4EBA EEC2                jsr        [PC - 0x113E /* 0000262E */]
  5402. 0000376E  548F                     addq.l     A7, 2
  5403. 00003770  3D40 FFF4                move.w     [A6 - 0xC], D0
  5404. label00003774:
  5405. 00003774  486E FFF6                pea.l      [A6 - 0xA]
  5406. 00003778  3F3C 003F                move.w     -[A7], 0x3F /* '?' */
  5407. 0000377C  3F3C 007F                move.w     -[A7], 0x7F
  5408. 00003780  486D F2E2                pea.l      [A5 - 0xD1E]
  5409. 00003784  4EBA FD6A                jsr        [PC - 0x296 /* 000034F0 */]
  5410. 00003788  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5411. 0000378C  4A00                     tst.b      D0
  5412. 0000378E  6600 0126                bne        +0x128 /* 000038B6 */
  5413. 00003792  302E FFF6                move.w     D0, [A6 - 0xA]
  5414. 00003796  ED48                     lsl        D0.w, 6
  5415. 00003798  806E FFF4                or.w       D0, [A6 - 0xC]
  5416. 0000379C  0240 0FFF                andi.w     D0, 0xFFF
  5417. 000037A0  3D40 FFF4                move.w     [A6 - 0xC], D0
  5418. label000037A4:
  5419. 000037A4  486E FFF8                pea.l      [A6 - 0x8]
  5420. 000037A8  3F3C 003F                move.w     -[A7], 0x3F /* '?' */
  5421. 000037AC  3F3C 007F                move.w     -[A7], 0x7F
  5422. 000037B0  486D F4E2                pea.l      [A5 - 0xB1E]
  5423. 000037B4  4EBA FD3A                jsr        [PC - 0x2C6 /* 000034F0 */]
  5424. 000037B8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5425. 000037BC  4A00                     tst.b      D0
  5426. 000037BE  6600 00F6                bne        +0xF8 /* 000038B6 */
  5427. 000037C2  0C6E 003F FFF8           cmpi.w     [A6 - 0x8], 0x3F /* '?' */
  5428. 000037C8  663E                     bne        +0x40 /* 00003808 */
  5429. 000037CA  0C6D 0008 A798           cmpi.w     [A5 - 0x5868], 0x8
  5430. 000037D0  6D1C                     blt        +0x1E /* 000037EE */
  5431. 000037D2  302D A796                move.w     D0, [A5 - 0x586A]
  5432. 000037D6  C06D F6FE                and.w      D0, [A5 - 0x902]
  5433. 000037DA  3D40 FFEE                move.w     [A6 - 0x12], D0
  5434. 000037DE  302D A796                move.w     D0, [A5 - 0x586A]
  5435. 000037E2  E048                     lsr        D0.w, 8
  5436. 000037E4  3B40 A796                move.w     [A5 - 0x586A], D0
  5437. 000037E8  516D A798                subq.w     [A5 - 0x5868], 8
  5438. 000037EC  600E                     bra        +0x10 /* 000037FC */
  5439. label000037EE:
  5440. 000037EE  3F3C 0008                move.w     -[A7], 0x8
  5441. 000037F2  4EBA EE3A                jsr        [PC - 0x11C6 /* 0000262E */]
  5442. 000037F6  548F                     addq.l     A7, 2
  5443. 000037F8  3D40 FFEE                move.w     [A6 - 0x12], D0
  5444. label000037FC:
  5445. 000037FC  302E FFF8                move.w     D0, [A6 - 0x8]
  5446. 00003800  D06E FFEE                add.w      D0, [A6 - 0x12]
  5447. 00003804  3D40 FFF8                move.w     [A6 - 0x8], D0
  5448. label00003808:
  5449. 00003808  302E FFF8                move.w     D0, [A6 - 0x8]
  5450. 0000380C  D06D F6EA                add.w      D0, [A5 - 0x916]
  5451. 00003810  3D40 FFF8                move.w     [A6 - 0x8], D0
  5452. 00003814  302E FFFC                move.w     D0, [A6 - 0x4]
  5453. 00003818  906E FFF4                sub.w      D0, [A6 - 0xC]
  5454. 0000381C  5340                     subq.w     D0, 1
  5455. 0000381E  3D40 FFFA                move.w     [A6 - 0x6], D0
  5456. 00003822  4A6E FFFA                tst.w      [A6 - 0x6]
  5457. 00003826  6C00 006C                bge        +0x6E /* 00003894 */
  5458. 0000382A  302E FFFA                move.w     D0, [A6 - 0x6]
  5459. 0000382E  D06D F6EC                add.w      D0, [A5 - 0x914]
  5460. 00003832  3D40 FFFA                move.w     [A6 - 0x6], D0
  5461. 00003836  6000 005C                bra        +0x5E /* 00003894 */
  5462. label0000383A:
  5463. 0000383A  206D A7BC                movea.l    A0, [A5 - 0x5844]
  5464. 0000383E  52AD A7BC                addq.l     [A5 - 0x5844], 1
  5465. 00003842  326E FFFA                movea.w    A1, [A6 - 0x6]
  5466. 00003846  D3ED EAD2                add.l      A1, [A5 - 0x152E]
  5467. 0000384A  1091                     move.b     [A0], [A1]
  5468. 0000384C  526D A7C4                addq.w     [A5 - 0x583C], 1
  5469. 00003850  302D A7C4                move.w     D0, [A5 - 0x583C]
  5470. 00003854  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  5471. 00003858  6604                     bne        +0x6 /* 0000385E */
  5472. 0000385A  4EBA EE5A                jsr        [PC - 0x11A6 /* 000026B6 */]
  5473. label0000385E:
  5474. 0000385E  306E FFFC                movea.w    A0, [A6 - 0x4]
  5475. 00003862  D1ED EAD2                add.l      A0, [A5 - 0x152E]
  5476. 00003866  326E FFFA                movea.w    A1, [A6 - 0x6]
  5477. 0000386A  D3ED EAD2                add.l      A1, [A5 - 0x152E]
  5478. 0000386E  1091                     move.b     [A0], [A1]
  5479. 00003870  526E FFFC                addq.w     [A6 - 0x4], 1
  5480. 00003874  302D F6EC                move.w     D0, [A5 - 0x914]
  5481. 00003878  B06E FFFC                cmp.w      D0, [A6 - 0x4]
  5482. 0000387C  6604                     bne        +0x6 /* 00003882 */
  5483. 0000387E  426E FFFC                clr.w      [A6 - 0x4]
  5484. label00003882:
  5485. 00003882  526E FFFA                addq.w     [A6 - 0x6], 1
  5486. 00003886  302D F6EC                move.w     D0, [A5 - 0x914]
  5487. 0000388A  B06E FFFA                cmp.w      D0, [A6 - 0x6]
  5488. 0000388E  6604                     bne        +0x6 /* 00003894 */
  5489. 00003890  426E FFFA                clr.w      [A6 - 0x6]
  5490. label00003894:
  5491. 00003894  302E FFF8                move.w     D0, [A6 - 0x8]
  5492. 00003898  536E FFF8                subq.w     [A6 - 0x8], 1
  5493. 0000389C  4A40                     tst.w      D0
  5494. 0000389E  6E9A                     bgt        -0x64 /* 0000383A */
  5495. label000038A0:
  5496. 000038A0  4A2D A79A                tst.b      [A5 - 0x5866]
  5497. 000038A4  6610                     bne        +0x12 /* 000038B6 */
  5498. 000038A6  306D A7C4                movea.w    A0, [A5 - 0x583C]
  5499. 000038AA  D1ED A7C0                add.l      A0, [A5 - 0x5840]
  5500. 000038AE  B1ED A7B0                cmpa.l     A0, [A5 - 0x5850]
  5501. 000038B2  6D00 FD52                blt        -0x2AC /* 00003606 */
  5502. label000038B6:
  5503. 000038B6  4E5E                     unlink     A6
  5504. 000038B8  4E75                     rts
  5505. 000038BA  4558                     chk.w      D2, [A0]+
  5506. 000038BC  504C                     addq.w     A4, 8
  5507. 000038BE  4F44                     chk.w      D7, D4
  5508. 000038C0  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  5509. fn000038C2:
  5510. 000038C2  4E56 FF84                link       A6, -0x007C
  5511. 000038C6  42AE FF98                clr.l      [A6 - 0x68]
  5512. 000038CA  3D6E 0008 FF9C           move.w     [A6 - 0x64], [A6 + 0x8]
  5513. 000038D0  426E FFA2                clr.w      [A6 - 0x5E]
  5514. 000038D4  4267                     clr.w      -[A7]
  5515. 000038D6  486E FF86                pea.l      [A6 - 0x7A]
  5516. 000038DA  4267                     clr.w      -[A7]
  5517. 000038DC  4EAD 026A                jsr        [A5 + 0x26A]
  5518. 000038E0  301F                     move.w     D0, [A7]+
  5519. 000038E2  3D40 FF84                move.w     [A6 - 0x7C], D0
  5520. 000038E6  4A6E FF84                tst.w      [A6 - 0x7C]
  5521. 000038EA  6616                     bne        +0x18 /* 00003902 */
  5522. 000038EC  306E FFC4                movea.w    A0, [A6 - 0x3C]
  5523. 000038F0  2F2E FFB6                move.l     -[A7], [A6 - 0x4A]
  5524. 000038F4  2F08                     move.l     -[A7], A0
  5525. 000038F6  4EAD 0042                jsr        [A5 + 0x42]
  5526. 000038FA  206E 000A                movea.l    A0, [A6 + 0xA]
  5527. 000038FE  2080                     move.l     [A0], D0
  5528. 00003900  6006                     bra        +0x8 /* 00003908 */
  5529. label00003902:
  5530. 00003902  206E 000A                movea.l    A0, [A6 + 0xA]
  5531. 00003906  4290                     clr.l      [A0]
  5532. label00003908:
  5533. 00003908  302E FF84                move.w     D0, [A6 - 0x7C]
  5534. 0000390C  4E5E                     unlink     A6
  5535. 0000390E  4E75                     rts
  5536. 00003910  4652                     not.w      [A2]
  5537. 00003912  4545                     chk.w      D2, D5
  5538. 00003914  5350                     subq.w     [A0], 1
  5539. 00003916  4143                     chk.w      D0, D3
  5540. 00003918  4E56 FF44                link       A6, -0x00BC
  5541. 0000391C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5542. 00003920  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  5543. 00003924  486D FA1C                pea.l      [A5 - 0x5E4]
  5544. 00003928  486E FFC4                pea.l      [A6 - 0x3C]
  5545. 0000392C  4EAD 010A                jsr        [A5 + 0x10A]
  5546. 00003930  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5547. 00003934  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  5548. 00003938  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  5549. 0000393C  486D FA26                pea.l      [A5 - 0x5DA]
  5550. 00003940  486E FF88                pea.l      [A6 - 0x78]
  5551. 00003944  4EAD 010A                jsr        [A5 + 0x10A]
  5552. 00003948  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5553. 0000394C  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  5554. 00003950  2F2E 0018                move.l     -[A7], [A6 + 0x18]
  5555. 00003954  486D FA30                pea.l      [A5 - 0x5D0]
  5556. 00003958  486E FF4C                pea.l      [A6 - 0xB4]
  5557. 0000395C  4EAD 010A                jsr        [A5 + 0x10A]
  5558. 00003960  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5559. 00003964  486E FFC4                pea.l      [A6 - 0x3C]
  5560. 00003968  4EAD 0282                jsr        [A5 + 0x282]
  5561. 0000396C  588F                     addq.l     A7, 4
  5562. 0000396E  486E FF88                pea.l      [A6 - 0x78]
  5563. 00003972  2D40 FF48                move.l     [A6 - 0xB8], D0
  5564. 00003976  4EAD 0282                jsr        [A5 + 0x282]
  5565. 0000397A  588F                     addq.l     A7, 4
  5566. 0000397C  486E FF4C                pea.l      [A6 - 0xB4]
  5567. 00003980  2D40 FF44                move.l     [A6 - 0xBC], D0
  5568. 00003984  4EAD 0282                jsr        [A5 + 0x282]
  5569. 00003988  588F                     addq.l     A7, 4
  5570. 0000398A  2F2E FF48                move.l     -[A7], [A6 - 0xB8]
  5571. 0000398E  2F2E FF44                move.l     -[A7], [A6 - 0xBC]
  5572. 00003992  2F00                     move.l     -[A7], D0
  5573. 00003994  486D FA3A                pea.l      [A5 - 0x5C6]
  5574. 00003998  A98B                     trap       ParamText
  5575. 0000399A  4267                     clr.w      -[A7]
  5576. 0000399C  3F3C 0067                move.w     -[A7], 0x67 /* 'g' */
  5577. 000039A0  42A7                     clr.l      -[A7]
  5578. 000039A2  A985                     trap       Alert
  5579. 000039A4  301F                     move.w     D0, [A7]+
  5580. 000039A6  4E5E                     unlink     A6
  5581. 000039A8  4E75                     rts
  5582. 000039AA  4D4F                     chk.w      D6, A7
  5583. 000039AC  4E49                     trap       9
  5584. 000039AE  544F                     addq.w     A7, 2
  5585. 000039B0  5220                     addq.b     -[A0], 1
  5586. fn000039B2:
  5587. 000039B2  4E56 FFFE                link       A6, -0x0002
  5588. 000039B6  42A7                     clr.l      -[A7]
  5589. 000039B8  3F3C 0066                move.w     -[A7], 0x66 /* 'f' */
  5590. 000039BC  486D A2D8                pea.l      [A5 - 0x5D28]
  5591. 000039C0  4878 FFFF                pea.l      [0xFFFFFFFF]
  5592. 000039C4  A9BD                     trap       GetNewWindow
  5593. 000039C6  205F                     movea.l    A0, [A7]+
  5594. 000039C8  2B48 A378                move.l     [A5 - 0x5C88], A0
  5595. 000039CC  2F2D A378                move.l     -[A7], [A5 - 0x5C88]
  5596. 000039D0  A873                     trap       SetPort
  5597. 000039D2  2F2D A7B0                move.l     -[A7], [A5 - 0x5850]
  5598. 000039D6  2F2D A7AC                move.l     -[A7], [A5 - 0x5854]
  5599. 000039DA  486D A7C8                pea.l      [A5 - 0x5838]
  5600. 000039DE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5601. 000039E2  486D FA3C                pea.l      [A5 - 0x5C4]
  5602. 000039E6  486D A3E7                pea.l      [A5 - 0x5C19]
  5603. 000039EA  4EAD 010A                jsr        [A5 + 0x10A]
  5604. 000039EE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5605. 000039F2  3F3C 0096                move.w     -[A7], 0x96
  5606. 000039F6  A887                     trap       TextFont
  5607. 000039F8  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  5608. 000039FC  A88A                     trap       TextSize
  5609. 000039FE  3F3C 0001                move.w     -[A7], 0x1
  5610. 00003A02  A888                     trap       TextFace
  5611. 00003A04  486D A3E7                pea.l      [A5 - 0x5C19]
  5612. 00003A08  4EAD 0282                jsr        [A5 + 0x282]
  5613. 00003A0C  588F                     addq.l     A7, 4
  5614. 00003A0E  4267                     clr.w      -[A7]
  5615. 00003A10  2F00                     move.l     -[A7], D0
  5616. 00003A12  A88C                     trap       StringWidth
  5617. 00003A14  301F                     move.w     D0, [A7]+
  5618. 00003A16  3D40 FFFE                move.w     [A6 - 0x2], D0
  5619. 00003A1A  303C 01A0                move.w     D0, 0x1A0
  5620. 00003A1E  906E FFFE                sub.w      D0, [A6 - 0x2]
  5621. 00003A22  48C0                     ext.l      D0
  5622. 00003A24  81FC 0002                divs.w     D0, 0x2
  5623. 00003A28  3F00                     move.w     -[A7], D0
  5624. 00003A2A  3F3C 000F                move.w     -[A7], 0xF
  5625. 00003A2E  A893                     trap       MoveTo
  5626. 00003A30  486D A3E7                pea.l      [A5 - 0x5C19]
  5627. 00003A34  A884                     trap       DrawString
  5628. 00003A36  486D A380                pea.l      [A5 - 0x5C80]
  5629. 00003A3A  3F3C 0026                move.w     -[A7], 0x26 /* '&' */
  5630. 00003A3E  3F3C 0016                move.w     -[A7], 0x16
  5631. 00003A42  3F3C 017C                move.w     -[A7], 0x17C
  5632. 00003A46  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  5633. 00003A4A  A8A7                     trap       SetRect
  5634. 00003A4C  486D A380                pea.l      [A5 - 0x5C80]
  5635. 00003A50  A8A1                     trap       FrameRect
  5636. 00003A52  7014                     moveq.l    D0, 0x14
  5637. 00003A54  3B40 A786                move.w     [A5 - 0x587A], D0
  5638. 00003A58  4878 0014                pea.l      [0x00000014 /* __m68k_vec_div_zero__ */]
  5639. 00003A5C  2F2D A7AC                move.l     -[A7], [A5 - 0x5854]
  5640. 00003A60  4EAD 005A                jsr        [A5 + 0x5A]
  5641. 00003A64  2B40 A77C                move.l     [A5 - 0x5884], D0
  5642. 00003A68  0CAD 0000 C350 A7AC      cmpi.l     [A5 - 0x5854], 0xC350
  5643. 00003A70  6C16                     bge        +0x18 /* 00003A88 */
  5644. 00003A72  4878 000A                pea.l      [0x0000000A]
  5645. 00003A76  2F2D A7AC                move.l     -[A7], [A5 - 0x5854]
  5646. 00003A7A  4EAD 005A                jsr        [A5 + 0x5A]
  5647. 00003A7E  2B40 A77C                move.l     [A5 - 0x5884], D0
  5648. 00003A82  700A                     moveq.l    D0, 0x0A
  5649. 00003A84  3B40 A786                move.w     [A5 - 0x587A], D0
  5650. label00003A88:
  5651. 00003A88  0CAD 0000 2710 A7AC      cmpi.l     [A5 - 0x5854], 0x2710
  5652. 00003A90  6C16                     bge        +0x18 /* 00003AA8 */
  5653. 00003A92  4878 0004                pea.l      [0x00000004 /* __m68k_vec_reset__ */]
  5654. 00003A96  2F2D A7AC                move.l     -[A7], [A5 - 0x5854]
  5655. 00003A9A  4EAD 005A                jsr        [A5 + 0x5A]
  5656. 00003A9E  2B40 A77C                move.l     [A5 - 0x5884], D0
  5657. 00003AA2  7004                     moveq.l    D0, 0x04
  5658. 00003AA4  3B40 A786                move.w     [A5 - 0x587A], D0
  5659. label00003AA8:
  5660. 00003AA8  0CAD 0000 07D0 A7AC      cmpi.l     [A5 - 0x5854], 0x7D0
  5661. 00003AB0  6C16                     bge        +0x18 /* 00003AC8 */
  5662. 00003AB2  4878 0002                pea.l      [0x00000002]
  5663. 00003AB6  2F2D A7AC                move.l     -[A7], [A5 - 0x5854]
  5664. 00003ABA  4EAD 005A                jsr        [A5 + 0x5A]
  5665. 00003ABE  2B40 A77C                move.l     [A5 - 0x5884], D0
  5666. 00003AC2  7002                     moveq.l    D0, 0x02
  5667. 00003AC4  3B40 A786                move.w     [A5 - 0x587A], D0
  5668. label00003AC8:
  5669. 00003AC8  42AD A778                clr.l      [A5 - 0x5888]
  5670. 00003ACC  426D A784                clr.w      [A5 - 0x587C]
  5671. 00003AD0  486D 9CB4                pea.l      [A5 - 0x634C]
  5672. 00003AD4  A89D                     trap       PenPat
  5673. 00003AD6  4E5E                     unlink     A6
  5674. 00003AD8  4E75                     rts
  5675. 00003ADA  494E                     chk.w      D4, A6
  5676. 00003ADC  4954                     chk.w      D4, [A4]
  5677. 00003ADE  5052                     addq.w     [A2], 8
  5678. 00003AE0  4F47                     chk.w      D7, D7
  5679. fn00003AE2:
  5680. 00003AE2  4E56 FFF8                link       A6, -0x0008
  5681. 00003AE6  302E 000A                move.w     D0, [A6 + 0xA]
  5682. 00003AEA  5340                     subq.w     D0, 1
  5683. 00003AEC  C1FC                     muls.w     D0, 0xFFFFFFFFFFFFFFFF
  5684. 00003AEE  0154                     bchg       [A4], D0
  5685. 00003AF0  48C0                     ext.l      D0
  5686. 00003AF2  81EE 0008                divs.w     D0, [A6 + 0x8]
  5687. 00003AF6  322E 000A                move.w     D1, [A6 + 0xA]
  5688. 00003AFA  C3FC                     muls.w     D1, 0xFFFFFFFFFFFFFFFF
  5689. 00003AFC  0154                     bchg       [A4], D0
  5690. 00003AFE  48C1                     ext.l      D1
  5691. 00003B00  83EE 0008                divs.w     D1, [A6 + 0x8]
  5692. 00003B04  486E FFF8                pea.l      [A6 - 0x8]
  5693. 00003B08  0640 0027                addi.w     D0, 0x27 /* ''' */
  5694. 00003B0C  3F00                     move.w     -[A7], D0
  5695. 00003B0E  3F3C 0017                move.w     -[A7], 0x17
  5696. 00003B12  0641 0027                addi.w     D1, 0x27 /* ''' */
  5697. 00003B16  3F01                     move.w     -[A7], D1
  5698. 00003B18  3F3C 0027                move.w     -[A7], 0x27 /* ''' */
  5699. 00003B1C  A8A7                     trap       SetRect
  5700. 00003B1E  486E FFF8                pea.l      [A6 - 0x8]
  5701. 00003B22  A8A2                     trap       PaintRect
  5702. 00003B24  4E5E                     unlink     A6
  5703. 00003B26  4E75                     rts
  5704. 00003B28  5550                     subq.w     [A0], 2
  5705. 00003B2A  4441                     neg.w      D1
  5706. 00003B2C  5445                     addq.w     D5, 2
  5707. 00003B2E  5052                     addq.w     [A2], 8
  5708. fn00003B30:
  5709. 00003B30  2F2D A378                move.l     -[A7], [A5 - 0x5C88]
  5710. 00003B34  A92D                     trap       CloseWindow
  5711. 00003B36  4E75                     rts
  5712. fn00003B38:
  5713. 00003B38  4E56 FE80                link       A6, -0x0180
  5714. 00003B3C  486D A7C8                pea.l      [A5 - 0x5838]
  5715. 00003B40  486D A3E7                pea.l      [A5 - 0x5C19]
  5716. 00003B44  4EBA C720                jsr        [PC - 0x38E0 /* 00000266 */]
  5717. 00003B48  508F                     addq.l     A7, 8
  5718. 00003B4A  486D A3E7                pea.l      [A5 - 0x5C19]
  5719. 00003B4E  4EAD 0282                jsr        [A5 + 0x282]
  5720. 00003B52  588F                     addq.l     A7, 4
  5721. 00003B54  486D A3E7                pea.l      [A5 - 0x5C19]
  5722. 00003B58  486E FE94                pea.l      [A6 - 0x16C]
  5723. 00003B5C  4EBA C708                jsr        [PC - 0x38F8 /* 00000266 */]
  5724. 00003B60  508F                     addq.l     A7, 8
  5725. 00003B62  41EE FE94                lea.l      A0, [A6 - 0x16C]
  5726. 00003B66  2D48 FFA6                move.l     [A6 - 0x5A], A0
  5727. 00003B6A  426E FFAA                clr.w      [A6 - 0x56]
  5728. 00003B6E  422E FFAE                clr.b      [A6 - 0x52]
  5729. 00003B72  426E FFB0                clr.w      [A6 - 0x50]
  5730. 00003B76  4267                     clr.w      -[A7]
  5731. 00003B78  486E FF94                pea.l      [A6 - 0x6C]
  5732. 00003B7C  4267                     clr.w      -[A7]
  5733. 00003B7E  4EAD 0242                jsr        [A5 + 0x242]
  5734. 00003B82  301F                     move.w     D0, [A7]+
  5735. 00003B84  3D40 FE92                move.w     [A6 - 0x16E], D0
  5736. 00003B88  701F                     moveq.l    D0, 0x1F
  5737. 00003B8A  C06D A7A6                and.w      D0, [A5 - 0x585A]
  5738. 00003B8E  3D40 FE88                move.w     [A6 - 0x178], D0
  5739. 00003B92  302D A7A6                move.w     D0, [A5 - 0x585A]
  5740. 00003B96  EA40                     asr        D0.w, 5
  5741. 00003B98  0240 000F                andi.w     D0, 0xF
  5742. 00003B9C  3D40 FE86                move.w     [A6 - 0x17A], D0
  5743. 00003BA0  302D A7A6                move.w     D0, [A5 - 0x585A]
  5744. 00003BA4  7209                     moveq.l    D1, 0x09
  5745. 00003BA6  E260                     asr        D0.w, D1
  5746. 00003BA8  0240 007F                andi.w     D0, 0x7F
  5747. 00003BAC  0640 07BC                addi.w     D0, 0x7BC
  5748. 00003BB0  3D40 FE84                move.w     [A6 - 0x17C], D0
  5749. 00003BB4  426E FE8E                clr.w      [A6 - 0x172]
  5750. 00003BB8  302D A7A4                move.w     D0, [A5 - 0x585C]
  5751. 00003BBC  EA40                     asr        D0.w, 5
  5752. 00003BBE  0240 003F                andi.w     D0, 0x3F /* '?' */
  5753. 00003BC2  3D40 FE8C                move.w     [A6 - 0x174], D0
  5754. 00003BC6  302D A7A4                move.w     D0, [A5 - 0x585C]
  5755. 00003BCA  720B                     moveq.l    D1, 0x0B
  5756. 00003BCC  E260                     asr        D0.w, D1
  5757. 00003BCE  0240 001F                andi.w     D0, 0x1F
  5758. 00003BD2  3D40 FE8A                move.w     [A6 - 0x176], D0
  5759. 00003BD6  701F                     moveq.l    D0, 0x1F
  5760. 00003BD8  C06D A7A4                and.w      D0, [A5 - 0x585C]
  5761. 00003BDC  D040                     add.w      D0, D0
  5762. 00003BDE  3D40 FE8E                move.w     [A6 - 0x172], D0
  5763. 00003BE2  486E FE84                pea.l      [A6 - 0x17C]
  5764. 00003BE6  486E FE80                pea.l      [A6 - 0x180]
  5765. 00003BEA  4EAD 0222                jsr        [A5 + 0x222]
  5766. 00003BEE  2D6E FE80 FFDC           move.l     [A6 - 0x24], [A6 - 0x180]
  5767. 00003BF4  2D6E FE80 FFE0           move.l     [A6 - 0x20], [A6 - 0x180]
  5768. 00003BFA  4267                     clr.w      -[A7]
  5769. 00003BFC  486E FF94                pea.l      [A6 - 0x6C]
  5770. 00003C00  4267                     clr.w      -[A7]
  5771. 00003C02  4EAD 024A                jsr        [A5 + 0x24A]
  5772. 00003C06  301F                     move.w     D0, [A7]+
  5773. 00003C08  3D40 FE92                move.w     [A6 - 0x16E], D0
  5774. 00003C0C  4E5E                     unlink     A6
  5775. 00003C0E  4E75                     rts
  5776. 00003C10  5345                     subq.w     D5, 1
  5777. 00003C12  5446                     addq.w     D6, 2
  5778. 00003C14  494C                     chk.w      D4, A4
  5779. 00003C16  4554                     chk.w      D2, [A4]
  5780. fn00003C18:
  5781. 00003C18  4E56 FEFA                link       A6, -0x0106
  5782. 00003C1C  486E FEFC                pea.l      [A6 - 0x104]
  5783. 00003C20  3F2D A38E                move.w     -[A7], [A5 - 0x5C72]
  5784. 00003C24  4EBA FC9C                jsr        [PC - 0x364 /* 000038C2 */]
  5785. 00003C28  5C8F                     addq.l     A7, 6
  5786. 00003C2A  202D A7B0                move.l     D0, [A5 - 0x5850]
  5787. 00003C2E  B0AE FEFC                cmp.l      D0, [A6 - 0x104]
  5788. 00003C32  6F2C                     ble        +0x2E /* 00003C60 */
  5789. 00003C34  486D A7C8                pea.l      [A5 - 0x5838]
  5790. 00003C38  486D FA56                pea.l      [A5 - 0x5AA]
  5791. 00003C3C  486D A3E7                pea.l      [A5 - 0x5C19]
  5792. 00003C40  4EAD 010A                jsr        [A5 + 0x10A]
  5793. 00003C44  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5794. 00003C48  486D A3E7                pea.l      [A5 - 0x5C19]
  5795. 00003C4C  4EAD 0282                jsr        [A5 + 0x282]
  5796. 00003C50  588F                     addq.l     A7, 4
  5797. 00003C52  2F00                     move.l     -[A7], D0
  5798. 00003C54  4EBA D2AE                jsr        [PC - 0x2D52 /* 00000F04 */]
  5799. 00003C58  588F                     addq.l     A7, 4
  5800. 00003C5A  7001                     moveq.l    D0, 0x01
  5801. 00003C5C  6000 011A                bra        +0x11C /* 00003D78 */
  5802. label00003C60:
  5803. 00003C60  3F3C 8102                move.w     -[A7], 0x8102
  5804. 00003C64  486D A7C8                pea.l      [A5 - 0x5838]
  5805. 00003C68  4EBA E5E8                jsr        [PC - 0x1A18 /* 00002252 */]
  5806. 00003C6C  5C8F                     addq.l     A7, 6
  5807. 00003C6E  3B40 A7C6                move.w     [A5 - 0x583A], D0
  5808. 00003C72  0C6D FFFF A7C6           cmpi.w     [A5 - 0x583A], 0xFFFF
  5809. 00003C78  662C                     bne        +0x2E /* 00003CA6 */
  5810. 00003C7A  486D A7C8                pea.l      [A5 - 0x5838]
  5811. 00003C7E  486D FA94                pea.l      [A5 - 0x56C]
  5812. 00003C82  486D A3E7                pea.l      [A5 - 0x5C19]
  5813. 00003C86  4EAD 010A                jsr        [A5 + 0x10A]
  5814. 00003C8A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5815. 00003C8E  486D A3E7                pea.l      [A5 - 0x5C19]
  5816. 00003C92  4EAD 0282                jsr        [A5 + 0x282]
  5817. 00003C96  588F                     addq.l     A7, 4
  5818. 00003C98  2F00                     move.l     -[A7], D0
  5819. 00003C9A  4EBA D268                jsr        [PC - 0x2D98 /* 00000F04 */]
  5820. 00003C9E  588F                     addq.l     A7, 4
  5821. 00003CA0  7001                     moveq.l    D0, 0x01
  5822. 00003CA2  6000 00D4                bra        +0xD6 /* 00003D78 */
  5823. label00003CA6:
  5824. 00003CA6  486D A7C8                pea.l      [A5 - 0x5838]
  5825. 00003CAA  486D A3E7                pea.l      [A5 - 0x5C19]
  5826. 00003CAE  4EBA C5B6                jsr        [PC - 0x3A4A /* 00000266 */]
  5827. 00003CB2  508F                     addq.l     A7, 8
  5828. 00003CB4  486D A3E7                pea.l      [A5 - 0x5C19]
  5829. 00003CB8  4EAD 0282                jsr        [A5 + 0x282]
  5830. 00003CBC  588F                     addq.l     A7, 4
  5831. 00003CBE  4267                     clr.w      -[A7]
  5832. 00003CC0  2F00                     move.l     -[A7], D0
  5833. 00003CC2  4267                     clr.w      -[A7]
  5834. 00003CC4  486D A3D2                pea.l      [A5 - 0x5C2E]
  5835. 00003CC8  4EAD 0252                jsr        [A5 + 0x252]
  5836. 00003CCC  301F                     move.w     D0, [A7]+
  5837. 00003CCE  2B7C 705A 4950 A3D6      move.l     [A5 - 0x5C2A], 0x705A4950 /* 'pZIP' */
  5838. 00003CD6  2B7C 5445 5854 A3D2      move.l     [A5 - 0x5C2E], 0x54455854 /* 'TEXT' */
  5839. 00003CDE  302D A782                move.w     D0, [A5 - 0x587E]
  5840. 00003CE2  48C0                     ext.l      D0
  5841. 00003CE4  E580                     asl        D0, 2
  5842. 00003CE6  41ED A5E8                lea.l      A0, [A5 - 0x5A18]
  5843. 00003CEA  D1C0                     add.l      A0, D0
  5844. 00003CEC  4A90                     tst.l      [A0]
  5845. 00003CEE  6F3C                     ble        +0x3E /* 00003D2C */
  5846. 00003CF0  486E FF00                pea.l      [A6 - 0x100]
  5847. 00003CF4  486D FAD8                pea.l      [A5 - 0x528]
  5848. 00003CF8  486D A7C8                pea.l      [A5 - 0x5838]
  5849. 00003CFC  4EBA E5DE                jsr        [PC - 0x1A22 /* 000022DC */]
  5850. 00003D00  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5851. 00003D04  0C40 0004                cmpi.w     D0, 0x4
  5852. 00003D08  6722                     beq        +0x24 /* 00003D2C */
  5853. 00003D0A  486E FF00                pea.l      [A6 - 0x100]
  5854. 00003D0E  486D FADE                pea.l      [A5 - 0x522]
  5855. 00003D12  486D A7C8                pea.l      [A5 - 0x5838]
  5856. 00003D16  4EBA E5C4                jsr        [PC - 0x1A3C /* 000022DC */]
  5857. 00003D1A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5858. 00003D1E  0C40 0004                cmpi.w     D0, 0x4
  5859. 00003D22  6708                     beq        +0xA /* 00003D2C */
  5860. 00003D24  2B7C 7042 494E A3D2      move.l     [A5 - 0x5C2E], 0x7042494E /* 'pBIN' */
  5861. label00003D2C:
  5862. 00003D2C  4267                     clr.w      -[A7]
  5863. 00003D2E  486D A3E7                pea.l      [A5 - 0x5C19]
  5864. 00003D32  4267                     clr.w      -[A7]
  5865. 00003D34  486D A3D2                pea.l      [A5 - 0x5C2E]
  5866. 00003D38  4EAD 0262                jsr        [A5 + 0x262]
  5867. 00003D3C  301F                     move.w     D0, [A7]+
  5868. 00003D3E  4267                     clr.w      -[A7]
  5869. 00003D40  206D A7B0                movea.l    A0, [A5 - 0x5850]
  5870. 00003D44  4868 FFFF                pea.l      [A0 - 0x1]
  5871. 00003D48  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  5872. 00003D4C  4EBA E396                jsr        [PC - 0x1C6A /* 000020E4 */]
  5873. 00003D50  508F                     addq.l     A7, 8
  5874. 00003D52  3F3C 0001                move.w     -[A7], 0x1
  5875. 00003D56  486D FAE4                pea.l      [A5 - 0x51C]
  5876. 00003D5A  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  5877. 00003D5E  4EBA E364                jsr        [PC - 0x1C9C /* 000020C4 */]
  5878. 00003D62  508F                     addq.l     A7, 8
  5879. 00003D64  3D40 FEFA                move.w     [A6 - 0x106], D0
  5880. 00003D68  4267                     clr.w      -[A7]
  5881. 00003D6A  42A7                     clr.l      -[A7]
  5882. 00003D6C  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  5883. 00003D70  4EBA E372                jsr        [PC - 0x1C8E /* 000020E4 */]
  5884. 00003D74  508F                     addq.l     A7, 8
  5885. 00003D76  7000                     moveq.l    D0, 0x00
  5886. label00003D78:
  5887. 00003D78  4E5E                     unlink     A6
  5888. 00003D7A  4E75                     rts
  5889. 00003D7C  4352                     chk.w      D1, [A2]
  5890. 00003D7E  4541                     chk.w      D2, D1
  5891. 00003D80  5445                     addq.w     D5, 2
  5892. 00003D82  4F55                     chk.w      D7, [A5]
  5893. fn00003D84:
  5894. 00003D84  4E56 FEE0                link       A6, -0x0120
  5895. 00003D88  426D A798                clr.w      [A5 - 0x5868]
  5896. 00003D8C  426D A796                clr.w      [A5 - 0x586A]
  5897. 00003D90  426D A794                clr.w      [A5 - 0x586C]
  5898. 00003D94  42AD A7C0                clr.l      [A5 - 0x5840]
  5899. 00003D98  426D A7C4                clr.w      [A5 - 0x583C]
  5900. 00003D9C  2B6D A7B8 A7BC           move.l     [A5 - 0x5844], [A5 - 0x5848]
  5901. 00003DA2  422D A79A                clr.b      [A5 - 0x5866]
  5902. 00003DA6  70FF                     moveq.l    D0, 0xFFFFFFFF
  5903. 00003DA8  2B40 F710                move.l     [A5 - 0x8F0], D0
  5904. 00003DAC  0C6D 0007 A7A2           cmpi.w     [A5 - 0x585E], 0x7
  5905. 00003DB2  6C18                     bge        +0x1A /* 00003DCC */
  5906. 00003DB4  4EBA FE62                jsr        [PC - 0x19E /* 00003C18 */]
  5907. 00003DB8  4A40                     tst.w      D0
  5908. 00003DBA  6710                     beq        +0x12 /* 00003DCC */
  5909. 00003DBC  4EBA D1CE                jsr        [PC - 0x2E32 /* 00000F8C */]
  5910. 00003DC0  3F3C 0001                move.w     -[A7], 0x1
  5911. 00003DC4  A9C8                     trap       SysBeep
  5912. 00003DC6  7001                     moveq.l    D0, 0x01
  5913. 00003DC8  6000 03CE                bra        +0x3D0 /* 00004198 */
  5914. label00003DCC:
  5915. 00003DCC  302D A7A2                move.w     D0, [A5 - 0x585E]
  5916. 00003DD0  4EAD 003A                jsr        [A5 + 0x3A]
  5917. 00003DD4  0000 0006                ori.b      D0, 0x6
  5918. 00003DD8  0126                     btst       -[A6], D0
  5919. 00003DDA  000E 0072                ori.b      A6, 0x72 /* 'r' */
  5920. 00003DDE  00AC 00AA 00A8 00A6      ori.l      [A4 + 0xA6], 0xAA00A8
  5921. 00003DE6  00DE                     ori.?      [A6]+, 0xFFFFFFFFFFFFFFFF
  5922. 00003DE8  486D A7C8                pea.l      [A5 - 0x5838]
  5923. 00003DEC  486D FAE6                pea.l      [A5 - 0x51A]
  5924. 00003DF0  486D A3E7                pea.l      [A5 - 0x5C19]
  5925. 00003DF4  4EAD 010A                jsr        [A5 + 0x10A]
  5926. 00003DF8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5927. 00003DFC  486D A3E7                pea.l      [A5 - 0x5C19]
  5928. 00003E00  4EAD 0282                jsr        [A5 + 0x282]
  5929. 00003E04  588F                     addq.l     A7, 4
  5930. 00003E06  2F00                     move.l     -[A7], D0
  5931. 00003E08  4EBA D0FA                jsr        [PC - 0x2F06 /* 00000F04 */]
  5932. 00003E0C  588F                     addq.l     A7, 4
  5933. 00003E0E  486D FAFA                pea.l      [A5 - 0x506]
  5934. 00003E12  4EBA FB9E                jsr        [PC - 0x462 /* 000039B2 */]
  5935. 00003E16  588F                     addq.l     A7, 4
  5936. 00003E18  601E                     bra        +0x20 /* 00003E38 */
  5937. label00003E1A:
  5938. 00003E1A  206D A7BC                movea.l    A0, [A5 - 0x5844]
  5939. 00003E1E  52AD A7BC                addq.l     [A5 - 0x5844], 1
  5940. 00003E22  10AE FEEB                move.b     [A0], [A6 - 0x115]
  5941. 00003E26  526D A7C4                addq.w     [A5 - 0x583C], 1
  5942. 00003E2A  302D A7C4                move.w     D0, [A5 - 0x583C]
  5943. 00003E2E  B06D A78A                cmp.w      D0, [A5 - 0x5876]
  5944. 00003E32  6604                     bne        +0x6 /* 00003E38 */
  5945. 00003E34  4EBA E880                jsr        [PC - 0x1780 /* 000026B6 */]
  5946. label00003E38:
  5947. 00003E38  486E FEEA                pea.l      [A6 - 0x116]
  5948. 00003E3C  4EBA E790                jsr        [PC - 0x1870 /* 000025CE */]
  5949. 00003E40  588F                     addq.l     A7, 4
  5950. 00003E42  4A40                     tst.w      D0
  5951. 00003E44  66D4                     bne        -0x2A /* 00003E1A */
  5952. 00003E46  4EBA FCE8                jsr        [PC - 0x318 /* 00003B30 */]
  5953. 00003E4A  6000 00D8                bra        +0xDA /* 00003F24 */
  5954. 00003E4E  486D A7C8                pea.l      [A5 - 0x5838]
  5955. 00003E52  486D FB06                pea.l      [A5 - 0x4FA]
  5956. 00003E56  486D A3E7                pea.l      [A5 - 0x5C19]
  5957. 00003E5A  4EAD 010A                jsr        [A5 + 0x10A]
  5958. 00003E5E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5959. 00003E62  486D A3E7                pea.l      [A5 - 0x5C19]
  5960. 00003E66  4EAD 0282                jsr        [A5 + 0x282]
  5961. 00003E6A  588F                     addq.l     A7, 4
  5962. 00003E6C  2F00                     move.l     -[A7], D0
  5963. 00003E6E  4EBA D094                jsr        [PC - 0x2F6C /* 00000F04 */]
  5964. 00003E72  588F                     addq.l     A7, 4
  5965. 00003E74  486D FB1A                pea.l      [A5 - 0x4E6]
  5966. 00003E78  4EBA FB38                jsr        [PC - 0x4C8 /* 000039B2 */]
  5967. 00003E7C  588F                     addq.l     A7, 4
  5968. 00003E7E  4EBA ED34                jsr        [PC - 0x12CC /* 00002BB4 */]
  5969. 00003E82  4EBA FCAC                jsr        [PC - 0x354 /* 00003B30 */]
  5970. 00003E86  6000 009C                bra        +0x9E /* 00003F24 */
  5971. 00003E8A  486D A7C8                pea.l      [A5 - 0x5838]
  5972. 00003E8E  486D FB26                pea.l      [A5 - 0x4DA]
  5973. 00003E92  486D A3E7                pea.l      [A5 - 0x5C19]
  5974. 00003E96  4EAD 010A                jsr        [A5 + 0x10A]
  5975. 00003E9A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5976. 00003E9E  486D A3E7                pea.l      [A5 - 0x5C19]
  5977. 00003EA2  4EAD 0282                jsr        [A5 + 0x282]
  5978. 00003EA6  588F                     addq.l     A7, 4
  5979. 00003EA8  2F00                     move.l     -[A7], D0
  5980. 00003EAA  4EBA D058                jsr        [PC - 0x2FA8 /* 00000F04 */]
  5981. 00003EAE  588F                     addq.l     A7, 4
  5982. 00003EB0  486D FB3A                pea.l      [A5 - 0x4C6]
  5983. 00003EB4  4EBA FAFC                jsr        [PC - 0x504 /* 000039B2 */]
  5984. 00003EB8  588F                     addq.l     A7, 4
  5985. 00003EBA  4EBA E902                jsr        [PC - 0x16FE /* 000027BE */]
  5986. 00003EBE  4EBA FC70                jsr        [PC - 0x390 /* 00003B30 */]
  5987. 00003EC2  6060                     bra        +0x62 /* 00003F24 */
  5988. 00003EC4  486D A7C8                pea.l      [A5 - 0x5838]
  5989. 00003EC8  486D FB44                pea.l      [A5 - 0x4BC]
  5990. 00003ECC  486D A3E7                pea.l      [A5 - 0x5C19]
  5991. 00003ED0  4EAD 010A                jsr        [A5 + 0x10A]
  5992. 00003ED4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5993. 00003ED8  486D A3E7                pea.l      [A5 - 0x5C19]
  5994. 00003EDC  4EAD 0282                jsr        [A5 + 0x282]
  5995. 00003EE0  588F                     addq.l     A7, 4
  5996. 00003EE2  2F00                     move.l     -[A7], D0
  5997. 00003EE4  4EBA D01E                jsr        [PC - 0x2FE2 /* 00000F04 */]
  5998. 00003EE8  588F                     addq.l     A7, 4
  5999. 00003EEA  486D FB58                pea.l      [A5 - 0x4A8]
  6000. 00003EEE  4EBA FAC2                jsr        [PC - 0x53E /* 000039B2 */]
  6001. 00003EF2  588F                     addq.l     A7, 4
  6002. 00003EF4  4EBA F6BA                jsr        [PC - 0x946 /* 000035B0 */]
  6003. 00003EF8  4EBA FC36                jsr        [PC - 0x3CA /* 00003B30 */]
  6004. 00003EFC  6026                     bra        +0x28 /* 00003F24 */
  6005. 00003EFE  486D A7C8                pea.l      [A5 - 0x5838]
  6006. 00003F02  486D FB62                pea.l      [A5 - 0x49E]
  6007. 00003F06  486D A3E7                pea.l      [A5 - 0x5C19]
  6008. 00003F0A  4EAD 010A                jsr        [A5 + 0x10A]
  6009. 00003F0E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6010. 00003F12  486D A3E7                pea.l      [A5 - 0x5C19]
  6011. 00003F16  4EAD 0282                jsr        [A5 + 0x282]
  6012. 00003F1A  588F                     addq.l     A7, 4
  6013. 00003F1C  2F00                     move.l     -[A7], D0
  6014. 00003F1E  4EBA CFE4                jsr        [PC - 0x301C /* 00000F04 */]
  6015. 00003F22  588F                     addq.l     A7, 4
  6016. label00003F24:
  6017. 00003F24  0C6D 0006 A7A2           cmpi.w     [A5 - 0x585E], 0x6
  6018. 00003F2A  6E00 026C                bgt        +0x26E /* 00004198 */
  6019. 00003F2E  4A6D A7C4                tst.w      [A5 - 0x583C]
  6020. 00003F32  6F20                     ble        +0x22 /* 00003F54 */
  6021. 00003F34  3F2D A7C4                move.w     -[A7], [A5 - 0x583C]
  6022. 00003F38  2F2D A7B8                move.l     -[A7], [A5 - 0x5848]
  6023. 00003F3C  4EBA C0C2                jsr        [PC - 0x3F3E /* 00000000 */]
  6024. 00003F40  5C8F                     addq.l     A7, 6
  6025. 00003F42  3F2D A7C4                move.w     -[A7], [A5 - 0x583C]
  6026. 00003F46  2F2D A7B8                move.l     -[A7], [A5 - 0x5848]
  6027. 00003F4A  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  6028. 00003F4E  4EBA E174                jsr        [PC - 0x1E8C /* 000020C4 */]
  6029. 00003F52  508F                     addq.l     A7, 8
  6030. label00003F54:
  6031. 00003F54  70FF                     moveq.l    D0, 0xFFFFFFFF
  6032. 00003F56  90AD F710                sub.l      D0, [A5 - 0x8F0]
  6033. 00003F5A  2B40 F710                move.l     [A5 - 0x8F0], D0
  6034. 00003F5E  202D F710                move.l     D0, [A5 - 0x8F0]
  6035. 00003F62  B0AD A7A8                cmp.l      D0, [A5 - 0x5858]
  6036. 00003F66  672C                     beq        +0x2E /* 00003F94 */
  6037. 00003F68  2F2D F710                move.l     -[A7], [A5 - 0x8F0]
  6038. 00003F6C  2F2D A7A8                move.l     -[A7], [A5 - 0x5858]
  6039. 00003F70  486D FBA8                pea.l      [A5 - 0x458]
  6040. 00003F74  486D A3E7                pea.l      [A5 - 0x5C19]
  6041. 00003F78  4EAD 010A                jsr        [A5 + 0x10A]
  6042. 00003F7C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6043. 00003F80  486D A3E7                pea.l      [A5 - 0x5C19]
  6044. 00003F84  4EAD 0282                jsr        [A5 + 0x282]
  6045. 00003F88  588F                     addq.l     A7, 4
  6046. 00003F8A  2F00                     move.l     -[A7], D0
  6047. 00003F8C  4EBA CF76                jsr        [PC - 0x308A /* 00000F04 */]
  6048. 00003F90  588F                     addq.l     A7, 4
  6049. 00003F92  600A                     bra        +0xC /* 00003F9E */
  6050. label00003F94:
  6051. 00003F94  486D FBCE                pea.l      [A5 - 0x432]
  6052. 00003F98  4EBA CF6A                jsr        [PC - 0x3096 /* 00000F04 */]
  6053. 00003F9C  588F                     addq.l     A7, 4
  6054. label00003F9E:
  6055. 00003F9E  486E FEF2                pea.l      [A6 - 0x10E]
  6056. 00003FA2  486D FBDE                pea.l      [A5 - 0x422]
  6057. 00003FA6  486D A7C8                pea.l      [A5 - 0x5838]
  6058. 00003FAA  4EBA E330                jsr        [PC - 0x1CD0 /* 000022DC */]
  6059. 00003FAE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6060. 00003FB2  0C40 0004                cmpi.w     D0, 0x4
  6061. 00003FB6  671C                     beq        +0x1E /* 00003FD4 */
  6062. 00003FB8  486E FEF2                pea.l      [A6 - 0x10E]
  6063. 00003FBC  486D FBE4                pea.l      [A5 - 0x41C]
  6064. 00003FC0  486D A7C8                pea.l      [A5 - 0x5838]
  6065. 00003FC4  4EBA E316                jsr        [PC - 0x1CEA /* 000022DC */]
  6066. 00003FC8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6067. 00003FCC  0C40 0004                cmpi.w     D0, 0x4
  6068. 00003FD0  6600 0084                bne        +0x86 /* 00004056 */
  6069. label00003FD4:
  6070. 00003FD4  42A7                     clr.l      -[A7]
  6071. 00003FD6  42A7                     clr.l      -[A7]
  6072. 00003FD8  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  6073. 00003FDC  4EBA E106                jsr        [PC - 0x1EFA /* 000020E4 */]
  6074. 00003FE0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6075. 00003FE4  3F3C 000C                move.w     -[A7], 0xC
  6076. 00003FE8  486E FFF4                pea.l      [A6 - 0xC]
  6077. 00003FEC  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  6078. 00003FF0  4EBA E0B2                jsr        [PC - 0x1F4E /* 000020A4 */]
  6079. 00003FF4  508F                     addq.l     A7, 8
  6080. 00003FF6  486E FFFA                pea.l      [A6 - 0x6]
  6081. 00003FFA  4EBA E4D6                jsr        [PC - 0x1B2A /* 000024D2 */]
  6082. 00003FFE  588F                     addq.l     A7, 4
  6083. 00004000  486E FFFC                pea.l      [A6 - 0x4]
  6084. 00004004  4EBA E4CC                jsr        [PC - 0x1B34 /* 000024D2 */]
  6085. 00004008  588F                     addq.l     A7, 4
  6086. 0000400A  102E FFFE                move.b     D0, [A6 - 0x2]
  6087. 0000400E  4880                     ext.w      D0
  6088. 00004010  0240 0007                andi.w     D0, 0x7
  6089. 00004014  1D40 FFF3                move.b     [A6 - 0xD], D0
  6090. 00004018  102E FFF3                move.b     D0, [A6 - 0xD]
  6091. 0000401C  4880                     ext.w      D0
  6092. 0000401E  5240                     addq.w     D0, 1
  6093. 00004020  7201                     moveq.l    D1, 0x01
  6094. 00004022  E169                     lsl        D1.w, D0
  6095. 00004024  3D41 FEF0                move.w     [A6 - 0x110], D1
  6096. 00004028  3F2E FEF0                move.w     -[A7], [A6 - 0x110]
  6097. 0000402C  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  6098. 00004030  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  6099. 00004034  486D FBEA                pea.l      [A5 - 0x416]
  6100. 00004038  486D A3E7                pea.l      [A5 - 0x5C19]
  6101. 0000403C  4EAD 010A                jsr        [A5 + 0x10A]
  6102. 00004040  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6103. 00004044  486D A3E7                pea.l      [A5 - 0x5C19]
  6104. 00004048  4EAD 0282                jsr        [A5 + 0x282]
  6105. 0000404C  588F                     addq.l     A7, 4
  6106. 0000404E  2F00                     move.l     -[A7], D0
  6107. 00004050  4EBA CEB2                jsr        [PC - 0x314E /* 00000F04 */]
  6108. 00004054  588F                     addq.l     A7, 4
  6109. label00004056:
  6110. 00004056  3F2D A7C6                move.w     -[A7], [A5 - 0x583A]
  6111. 0000405A  4EBA E014                jsr        [PC - 0x1FEC /* 00002070 */]
  6112. 0000405E  548F                     addq.l     A7, 2
  6113. 00004060  4A2D A3E3                tst.b      [A5 - 0x5C1D]
  6114. 00004064  6700 012A                beq        +0x12C /* 00004190 */
  6115. 00004068  302D A782                move.w     D0, [A5 - 0x587E]
  6116. 0000406C  48C0                     ext.l      D0
  6117. 0000406E  E580                     asl        D0, 2
  6118. 00004070  41ED A5E8                lea.l      A0, [A5 - 0x5A18]
  6119. 00004074  D1C0                     add.l      A0, D0
  6120. 00004076  4A90                     tst.l      [A0]
  6121. 00004078  6C00 0116                bge        +0x118 /* 00004190 */
  6122. 0000407C  486E FEEC                pea.l      [A6 - 0x114]
  6123. 00004080  3F2D A38E                move.w     -[A7], [A5 - 0x5C72]
  6124. 00004084  4EBA F83C                jsr        [PC - 0x7C4 /* 000038C2 */]
  6125. 00004088  5C8F                     addq.l     A7, 6
  6126. 0000408A  202D A7B0                move.l     D0, [A5 - 0x5850]
  6127. 0000408E  B0AE FEEC                cmp.l      D0, [A6 - 0x114]
  6128. 00004092  6F0E                     ble        +0x10 /* 000040A2 */
  6129. 00004094  486D FC26                pea.l      [A5 - 0x3DA]
  6130. 00004098  4EBA CE6A                jsr        [PC - 0x3196 /* 00000F04 */]
  6131. 0000409C  588F                     addq.l     A7, 4
  6132. 0000409E  6000 00F0                bra        +0xF2 /* 00004190 */
  6133. label000040A2:
  6134. 000040A2  486D FC6E                pea.l      [A5 - 0x392]
  6135. 000040A6  4EBA CE5C                jsr        [PC - 0x31A4 /* 00000F04 */]
  6136. 000040AA  588F                     addq.l     A7, 4
  6137. 000040AC  486D FC9E                pea.l      [A5 - 0x362]
  6138. 000040B0  486D A7C8                pea.l      [A5 - 0x5838]
  6139. 000040B4  4EAD 016A                jsr        [A5 + 0x16A]
  6140. 000040B8  508F                     addq.l     A7, 8
  6141. 000040BA  2D40 FEE6                move.l     [A6 - 0x11A], D0
  6142. 000040BE  486D FCAE                pea.l      [A5 - 0x352]
  6143. 000040C2  486D FCA2                pea.l      [A5 - 0x35E]
  6144. 000040C6  4EAD 016A                jsr        [A5 + 0x16A]
  6145. 000040CA  508F                     addq.l     A7, 8
  6146. 000040CC  2D40 FEE2                move.l     [A6 - 0x11E], D0
  6147. 000040D0  4AAE FEE2                tst.l      [A6 - 0x11E]
  6148. 000040D4  6700 00B0                beq        +0xB2 /* 00004186 */
  6149. 000040D8  486D FCB2                pea.l      [A5 - 0x34E]
  6150. 000040DC  486D A3E7                pea.l      [A5 - 0x5C19]
  6151. 000040E0  4EBA C184                jsr        [PC - 0x3E7C /* 00000266 */]
  6152. 000040E4  508F                     addq.l     A7, 8
  6153. 000040E6  486D A3E7                pea.l      [A5 - 0x5C19]
  6154. 000040EA  4EAD 0282                jsr        [A5 + 0x282]
  6155. 000040EE  588F                     addq.l     A7, 4
  6156. 000040F0  4267                     clr.w      -[A7]
  6157. 000040F2  2F00                     move.l     -[A7], D0
  6158. 000040F4  4267                     clr.w      -[A7]
  6159. 000040F6  486D A3D2                pea.l      [A5 - 0x5C2E]
  6160. 000040FA  4EAD 0252                jsr        [A5 + 0x252]
  6161. 000040FE  301F                     move.w     D0, [A7]+
  6162. 00004100  2B7C 705A 4950 A3D6      move.l     [A5 - 0x5C2A], 0x705A4950 /* 'pZIP' */
  6163. 00004108  2B7C 5445 5854 A3D2      move.l     [A5 - 0x5C2E], 0x54455854 /* 'TEXT' */
  6164. 00004110  4267                     clr.w      -[A7]
  6165. 00004112  486D A3E7                pea.l      [A5 - 0x5C19]
  6166. 00004116  4267                     clr.w      -[A7]
  6167. 00004118  486D A3D2                pea.l      [A5 - 0x5C2E]
  6168. 0000411C  4EAD 0262                jsr        [A5 + 0x262]
  6169. 00004120  301F                     move.w     D0, [A7]+
  6170. 00004122  6016                     bra        +0x18 /* 0000413A */
  6171. label00004124:
  6172. 00004124  0C6E 000A FEE0           cmpi.w     [A6 - 0x120], 0xA /* '\n' */
  6173. 0000412A  670E                     beq        +0x10 /* 0000413A */
  6174. 0000412C  2F2E FEE2                move.l     -[A7], [A6 - 0x11E]
  6175. 00004130  3F2E FEE0                move.w     -[A7], [A6 - 0x120]
  6176. 00004134  4EAD 0172                jsr        [A5 + 0x172]
  6177. 00004138  5C8F                     addq.l     A7, 6
  6178. label0000413A:
  6179. 0000413A  2F2E FEE6                move.l     -[A7], [A6 - 0x11A]
  6180. 0000413E  4EAD 0152                jsr        [A5 + 0x152]
  6181. 00004142  588F                     addq.l     A7, 4
  6182. 00004144  3D40 FEE0                move.w     [A6 - 0x120], D0
  6183. 00004148  0C40 FFFF                cmpi.w     D0, 0xFFFF
  6184. 0000414C  66D6                     bne        -0x28 /* 00004124 */
  6185. 0000414E  2F2E FEE6                move.l     -[A7], [A6 - 0x11A]
  6186. 00004152  4EAD 0162                jsr        [A5 + 0x162]
  6187. 00004156  588F                     addq.l     A7, 4
  6188. 00004158  2F2E FEE2                move.l     -[A7], [A6 - 0x11E]
  6189. 0000415C  4EAD 0162                jsr        [A5 + 0x162]
  6190. 00004160  588F                     addq.l     A7, 4
  6191. 00004162  486D A7C8                pea.l      [A5 - 0x5838]
  6192. 00004166  4EBA E086                jsr        [PC - 0x1F7A /* 000021EE */]
  6193. 0000416A  588F                     addq.l     A7, 4
  6194. 0000416C  486D A7C8                pea.l      [A5 - 0x5838]
  6195. 00004170  486D FCBE                pea.l      [A5 - 0x342]
  6196. 00004174  4EBA E002                jsr        [PC - 0x1FFE /* 00002178 */]
  6197. 00004178  508F                     addq.l     A7, 8
  6198. 0000417A  486D FCCA                pea.l      [A5 - 0x336]
  6199. 0000417E  4EBA CD84                jsr        [PC - 0x327C /* 00000F04 */]
  6200. 00004182  588F                     addq.l     A7, 4
  6201. 00004184  600A                     bra        +0xC /* 00004190 */
  6202. label00004186:
  6203. 00004186  486D FCDA                pea.l      [A5 - 0x326]
  6204. 0000418A  4EBA CD78                jsr        [PC - 0x3288 /* 00000F04 */]
  6205. 0000418E  588F                     addq.l     A7, 4
  6206. label00004190:
  6207. 00004190  4EBA F9A6                jsr        [PC - 0x65A /* 00003B38 */]
  6208. 00004194  4EBA CDF6                jsr        [PC - 0x320A /* 00000F8C */]
  6209. label00004198:
  6210. 00004198  4E5E                     unlink     A6
  6211. 0000419A  4E75                     rts
  6212. 0000419C  4558                     chk.w      D2, [A0]+
  6213. 0000419E  5452                     addq.w     [A2], 2
  6214. 000041A0  4143                     chk.w      D0, D3
  6215. 000041A2  544D                     addq.w     A5, 2
  6216. fn000041A4:
  6217. 000041A4  4E56 FF00                link       A6, -0x0100
  6218. 000041A8  3F3C 001A                move.w     -[A7], 0x1A
  6219. 000041AC  486D A79E                pea.l      [A5 - 0x5862]
  6220. 000041B0  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6221. 000041B4  4EBA DEEE                jsr        [PC - 0x2112 /* 000020A4 */]
  6222. 000041B8  508F                     addq.l     A7, 8
  6223. 000041BA  486D A7B4                pea.l      [A5 - 0x584C]
  6224. 000041BE  4EBA E312                jsr        [PC - 0x1CEE /* 000024D2 */]
  6225. 000041C2  588F                     addq.l     A7, 4
  6226. 000041C4  486D A7B6                pea.l      [A5 - 0x584A]
  6227. 000041C8  4EBA E308                jsr        [PC - 0x1CF8 /* 000024D2 */]
  6228. 000041CC  588F                     addq.l     A7, 4
  6229. 000041CE  486D A7AC                pea.l      [A5 - 0x5854]
  6230. 000041D2  4EBA E332                jsr        [PC - 0x1CCE /* 00002506 */]
  6231. 000041D6  588F                     addq.l     A7, 4
  6232. 000041D8  486D A7B0                pea.l      [A5 - 0x5850]
  6233. 000041DC  4EBA E328                jsr        [PC - 0x1CD8 /* 00002506 */]
  6234. 000041E0  588F                     addq.l     A7, 4
  6235. 000041E2  486D A7A4                pea.l      [A5 - 0x585C]
  6236. 000041E6  4EBA E2EA                jsr        [PC - 0x1D16 /* 000024D2 */]
  6237. 000041EA  588F                     addq.l     A7, 4
  6238. 000041EC  486D A7A6                pea.l      [A5 - 0x585A]
  6239. 000041F0  4EBA E2E0                jsr        [PC - 0x1D20 /* 000024D2 */]
  6240. 000041F4  588F                     addq.l     A7, 4
  6241. 000041F6  486D A7A2                pea.l      [A5 - 0x585E]
  6242. 000041FA  4EBA E2D6                jsr        [PC - 0x1D2A /* 000024D2 */]
  6243. 000041FE  588F                     addq.l     A7, 4
  6244. 00004200  486D A7A0                pea.l      [A5 - 0x5860]
  6245. 00004204  4EBA E2CC                jsr        [PC - 0x1D34 /* 000024D2 */]
  6246. 00004208  588F                     addq.l     A7, 4
  6247. 0000420A  486D A7A8                pea.l      [A5 - 0x5858]
  6248. 0000420E  4EBA E2F6                jsr        [PC - 0x1D0A /* 00002506 */]
  6249. 00004212  588F                     addq.l     A7, 4
  6250. 00004214  486D A7C8                pea.l      [A5 - 0x5838]
  6251. 00004218  3F2D A7B4                move.w     -[A7], [A5 - 0x584C]
  6252. 0000421C  4EBA ECDE                jsr        [PC - 0x1322 /* 00002EFC */]
  6253. 00004220  5C8F                     addq.l     A7, 6
  6254. 00004222  486D A8C8                pea.l      [A5 - 0x5738]
  6255. 00004226  3F2D A7B6                move.w     -[A7], [A5 - 0x584A]
  6256. 0000422A  4EBA ECD0                jsr        [PC - 0x1330 /* 00002EFC */]
  6257. 0000422E  5C8F                     addq.l     A7, 6
  6258. 00004230  4A2D A3E6                tst.b      [A5 - 0x5C1A]
  6259. 00004234  6748                     beq        +0x4A /* 0000427E */
  6260. 00004236  302D A782                move.w     D0, [A5 - 0x587E]
  6261. 0000423A  48C0                     ext.l      D0
  6262. 0000423C  E580                     asl        D0, 2
  6263. 0000423E  41ED A5E8                lea.l      A0, [A5 - 0x5A18]
  6264. 00004242  D1C0                     add.l      A0, D0
  6265. 00004244  4A90                     tst.l      [A0]
  6266. 00004246  6F36                     ble        +0x38 /* 0000427E */
  6267. 00004248  486E FF00                pea.l      [A6 - 0x100]
  6268. 0000424C  486D FD22                pea.l      [A5 - 0x2DE]
  6269. 00004250  486D A7C8                pea.l      [A5 - 0x5838]
  6270. 00004254  4EBA E086                jsr        [PC - 0x1F7A /* 000022DC */]
  6271. 00004258  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6272. 0000425C  0C40 0004                cmpi.w     D0, 0x4
  6273. 00004260  671C                     beq        +0x1E /* 0000427E */
  6274. 00004262  486E FF00                pea.l      [A6 - 0x100]
  6275. 00004266  486D FD28                pea.l      [A5 - 0x2D8]
  6276. 0000426A  486D A7C8                pea.l      [A5 - 0x5838]
  6277. 0000426E  4EBA E06C                jsr        [PC - 0x1F94 /* 000022DC */]
  6278. 00004272  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6279. 00004276  0C40 0004                cmpi.w     D0, 0x4
  6280. 0000427A  6600 0082                bne        +0x84 /* 000042FE */
  6281. label0000427E:
  6282. 0000427E  4A2D A3E5                tst.b      [A5 - 0x5C1B]
  6283. 00004282  6700 0076                beq        +0x78 /* 000042FA */
  6284. 00004286  486D FD2E                pea.l      [A5 - 0x2D2]
  6285. 0000428A  486D A3E7                pea.l      [A5 - 0x5C19]
  6286. 0000428E  4EBA BFD6                jsr        [PC - 0x402A /* 00000266 */]
  6287. 00004292  508F                     addq.l     A7, 8
  6288. 00004294  486D A7C8                pea.l      [A5 - 0x5838]
  6289. 00004298  486D A3E7                pea.l      [A5 - 0x5C19]
  6290. 0000429C  4EBA BF72                jsr        [PC - 0x408E /* 00000210 */]
  6291. 000042A0  508F                     addq.l     A7, 8
  6292. 000042A2  486D FD3A                pea.l      [A5 - 0x2C6]
  6293. 000042A6  486D A3E7                pea.l      [A5 - 0x5C19]
  6294. 000042AA  4EBA BF64                jsr        [PC - 0x409C /* 00000210 */]
  6295. 000042AE  508F                     addq.l     A7, 8
  6296. 000042B0  486D A3E7                pea.l      [A5 - 0x5C19]
  6297. 000042B4  4EAD 0282                jsr        [A5 + 0x282]
  6298. 000042B8  588F                     addq.l     A7, 4
  6299. 000042BA  2F00                     move.l     -[A7], D0
  6300. 000042BC  486D FD3E                pea.l      [A5 - 0x2C2]
  6301. 000042C0  486D FD40                pea.l      [A5 - 0x2C0]
  6302. 000042C4  486D FD42                pea.l      [A5 - 0x2BE]
  6303. 000042C8  A98B                     trap       ParamText
  6304. 000042CA  A850                     trap       InitCursor
  6305. 000042CC  4267                     clr.w      -[A7]
  6306. 000042CE  3F3C 0066                move.w     -[A7], 0x66 /* 'f' */
  6307. 000042D2  42A7                     clr.l      -[A7]
  6308. 000042D4  A985                     trap       Alert
  6309. 000042D6  301F                     move.w     D0, [A7]+
  6310. 000042D8  0C40 0001                cmpi.w     D0, 0x1
  6311. 000042DC  6620                     bne        +0x22 /* 000042FE */
  6312. 000042DE  42A7                     clr.l      -[A7]
  6313. 000042E0  3F3C 0004                move.w     -[A7], 0x4
  6314. 000042E4  A9B9                     trap       GetCursor
  6315. 000042E6  205F                     movea.l    A0, [A7]+
  6316. 000042E8  2B48 A2D4                move.l     [A5 - 0x5D2C], A0
  6317. 000042EC  206D A2D4                movea.l    A0, [A5 - 0x5D2C]
  6318. 000042F0  2F10                     move.l     -[A7], [A0]
  6319. 000042F2  A851                     trap       SetCursor
  6320. 000042F4  4EBA FA8E                jsr        [PC - 0x572 /* 00003D84 */]
  6321. 000042F8  6004                     bra        +0x6 /* 000042FE */
  6322. label000042FA:
  6323. 000042FA  4EBA FA88                jsr        [PC - 0x578 /* 00003D84 */]
  6324. label000042FE:
  6325. 000042FE  4E5E                     unlink     A6
  6326. 00004300  4E75                     rts
  6327. 00004302  5052                     addq.w     [A2], 8
  6328. 00004304  4F43                     chk.w      D7, D3
  6329. 00004306  4553                     chk.w      D2, [A3]
  6330. 00004308  534C                     subq.w     A4, 1
  6331. fn0000430A:
  6332. 0000430A  4E56 FCC6                link       A6, -0x033A
  6333. 0000430E  2F0A                     move.l     -[A7], A2
  6334. 00004310  3F3C 002A                move.w     -[A7], 0x2A /* '*' */
  6335. 00004314  486E FFD6                pea.l      [A6 - 0x2A]
  6336. 00004318  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6337. 0000431C  4EBA DD86                jsr        [PC - 0x227A /* 000020A4 */]
  6338. 00004320  508F                     addq.l     A7, 8
  6339. 00004322  486E FFDC                pea.l      [A6 - 0x24]
  6340. 00004326  4EBA E1AA                jsr        [PC - 0x1E56 /* 000024D2 */]
  6341. 0000432A  588F                     addq.l     A7, 4
  6342. 0000432C  486E FFE6                pea.l      [A6 - 0x1A]
  6343. 00004330  4EBA E1D4                jsr        [PC - 0x1E2C /* 00002506 */]
  6344. 00004334  588F                     addq.l     A7, 4
  6345. 00004336  486E FFEA                pea.l      [A6 - 0x16]
  6346. 0000433A  4EBA E1CA                jsr        [PC - 0x1E36 /* 00002506 */]
  6347. 0000433E  588F                     addq.l     A7, 4
  6348. 00004340  486E FFDE                pea.l      [A6 - 0x22]
  6349. 00004344  4EBA E18C                jsr        [PC - 0x1E74 /* 000024D2 */]
  6350. 00004348  588F                     addq.l     A7, 4
  6351. 0000434A  486E FFE0                pea.l      [A6 - 0x20]
  6352. 0000434E  4EBA E182                jsr        [PC - 0x1E7E /* 000024D2 */]
  6353. 00004352  588F                     addq.l     A7, 4
  6354. 00004354  486E FFE2                pea.l      [A6 - 0x1E]
  6355. 00004358  4EBA E1AC                jsr        [PC - 0x1E54 /* 00002506 */]
  6356. 0000435C  588F                     addq.l     A7, 4
  6357. 0000435E  486E FFF6                pea.l      [A6 - 0xA]
  6358. 00004362  4EBA E16E                jsr        [PC - 0x1E92 /* 000024D2 */]
  6359. 00004366  588F                     addq.l     A7, 4
  6360. 00004368  486E FFEE                pea.l      [A6 - 0x12]
  6361. 0000436C  4EBA E164                jsr        [PC - 0x1E9C /* 000024D2 */]
  6362. 00004370  588F                     addq.l     A7, 4
  6363. 00004372  486E FFF0                pea.l      [A6 - 0x10]
  6364. 00004376  4EBA E15A                jsr        [PC - 0x1EA6 /* 000024D2 */]
  6365. 0000437A  588F                     addq.l     A7, 4
  6366. 0000437C  486E FFF2                pea.l      [A6 - 0xE]
  6367. 00004380  4EBA E150                jsr        [PC - 0x1EB0 /* 000024D2 */]
  6368. 00004384  588F                     addq.l     A7, 4
  6369. 00004386  486E FFFC                pea.l      [A6 - 0x4]
  6370. 0000438A  4EBA E17A                jsr        [PC - 0x1E86 /* 00002506 */]
  6371. 0000438E  588F                     addq.l     A7, 4
  6372. 00004390  486E FED6                pea.l      [A6 - 0x12A]
  6373. 00004394  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  6374. 00004398  4EBA EB62                jsr        [PC - 0x149E /* 00002EFC */]
  6375. 0000439C  5C8F                     addq.l     A7, 6
  6376. 0000439E  486E FDD6                pea.l      [A6 - 0x22A]
  6377. 000043A2  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  6378. 000043A6  4EBA EB54                jsr        [PC - 0x14AC /* 00002EFC */]
  6379. 000043AA  5C8F                     addq.l     A7, 6
  6380. 000043AC  486E FCD6                pea.l      [A6 - 0x32A]
  6381. 000043B0  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  6382. 000043B4  4EBA EB46                jsr        [PC - 0x14BA /* 00002EFC */]
  6383. 000043B8  5C8F                     addq.l     A7, 6
  6384. 000043BA  0C6E 0006 FFDC           cmpi.w     [A6 - 0x24], 0x6
  6385. 000043C0  6306                     bls        +0x8 /* 000043C8 */
  6386. 000043C2  7007                     moveq.l    D0, 0x07
  6387. 000043C4  3D40 FFDC                move.w     [A6 - 0x24], D0
  6388. label000043C8:
  6389. 000043C8  701F                     moveq.l    D0, 0x1F
  6390. 000043CA  C06E FFE0                and.w      D0, [A6 - 0x20]
  6391. 000043CE  3D40 FCD0                move.w     [A6 - 0x330], D0
  6392. 000043D2  302E FFE0                move.w     D0, [A6 - 0x20]
  6393. 000043D6  EA48                     lsr        D0.w, 5
  6394. 000043D8  0240 000F                andi.w     D0, 0xF
  6395. 000043DC  3D40 FCCE                move.w     [A6 - 0x332], D0
  6396. 000043E0  302E FFE0                move.w     D0, [A6 - 0x20]
  6397. 000043E4  7209                     moveq.l    D1, 0x09
  6398. 000043E6  E268                     lsr        D0.w, D1
  6399. 000043E8  0240 007F                andi.w     D0, 0x7F
  6400. 000043EC  0640 0050                addi.w     D0, 0x50 /* 'P' */
  6401. 000043F0  3D40 FCCC                move.w     [A6 - 0x334], D0
  6402. 000043F4  302E FFDE                move.w     D0, [A6 - 0x22]
  6403. 000043F8  720B                     moveq.l    D1, 0x0B
  6404. 000043FA  E268                     lsr        D0.w, D1
  6405. 000043FC  0240 001F                andi.w     D0, 0x1F
  6406. 00004400  3D40 FCCA                move.w     [A6 - 0x336], D0
  6407. 00004404  302E FFDE                move.w     D0, [A6 - 0x22]
  6408. 00004408  EA48                     lsr        D0.w, 5
  6409. 0000440A  0240 003F                andi.w     D0, 0x3F /* '?' */
  6410. 0000440E  3D40 FCC8                move.w     [A6 - 0x338], D0
  6411. 00004412  701F                     moveq.l    D0, 0x1F
  6412. 00004414  C06E FFDE                and.w      D0, [A6 - 0x22]
  6413. 00004418  D040                     add.w      D0, D0
  6414. 0000441A  3D40 FCC6                move.w     [A6 - 0x33A], D0
  6415. 0000441E  302E FFDC                move.w     D0, [A6 - 0x24]
  6416. 00004422  4840                     swap.w     D0
  6417. 00004424  4240                     clr.w      D0
  6418. 00004426  4840                     swap.w     D0
  6419. 00004428  E580                     asl        D0, 2
  6420. 0000442A  41ED F932                lea.l      A0, [A5 - 0x6CE]
  6421. 0000442E  D1C0                     add.l      A0, D0
  6422. 00004430  302E FCCE                move.w     D0, [A6 - 0x332]
  6423. 00004434  5340                     subq.w     D0, 1
  6424. 00004436  48C0                     ext.l      D0
  6425. 00004438  E580                     asl        D0, 2
  6426. 0000443A  43ED F95A                lea.l      A1, [A5 - 0x6A6]
  6427. 0000443E  D3C0                     add.l      A1, D0
  6428. 00004440  302E FFF6                move.w     D0, [A6 - 0xA]
  6429. 00004444  4840                     swap.w     D0
  6430. 00004446  4240                     clr.w      D0
  6431. 00004448  4840                     swap.w     D0
  6432. 0000444A  E580                     asl        D0, 2
  6433. 0000444C  45ED F952                lea.l      A2, [A5 - 0x6AE]
  6434. 00004450  D5C0                     add.l      A2, D0
  6435. 00004452  2F12                     move.l     -[A7], [A2]
  6436. 00004454  2F2E FFE2                move.l     -[A7], [A6 - 0x1E]
  6437. 00004458  3F2E FCC6                move.w     -[A7], [A6 - 0x33A]
  6438. 0000445C  3F2E FCC8                move.w     -[A7], [A6 - 0x338]
  6439. 00004460  3F2E FCCA                move.w     -[A7], [A6 - 0x336]
  6440. 00004464  3F2E FCCC                move.w     -[A7], [A6 - 0x334]
  6441. 00004468  2F11                     move.l     -[A7], [A1]
  6442. 0000446A  3F2E FCD0                move.w     -[A7], [A6 - 0x330]
  6443. 0000446E  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  6444. 00004472  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  6445. 00004476  2F10                     move.l     -[A7], [A0]
  6446. 00004478  486E FED6                pea.l      [A6 - 0x12A]
  6447. 0000447C  486D FDDC                pea.l      [A5 - 0x224]
  6448. 00004480  486D A3E7                pea.l      [A5 - 0x5C19]
  6449. 00004484  4EAD 010A                jsr        [A5 + 0x10A]
  6450. 00004488  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  6451. 0000448C  486D A3E7                pea.l      [A5 - 0x5C19]
  6452. 00004490  4EAD 0282                jsr        [A5 + 0x282]
  6453. 00004494  588F                     addq.l     A7, 4
  6454. 00004496  2F00                     move.l     -[A7], D0
  6455. 00004498  4EBA CA6A                jsr        [PC - 0x3596 /* 00000F04 */]
  6456. 0000449C  588F                     addq.l     A7, 4
  6457. 0000449E  202E FFFC                move.l     D0, [A6 - 0x4]
  6458. 000044A2  5280                     addq.l     D0, 1
  6459. 000044A4  2D40 FCD2                move.l     [A6 - 0x32E], D0
  6460. 000044A8  0C6E 0001 FFF6           cmpi.w     [A6 - 0xA], 0x1
  6461. 000044AE  660A                     bne        +0xC /* 000044BA */
  6462. 000044B0  202E FCD2                move.l     D0, [A6 - 0x32E]
  6463. 000044B4  4480                     neg.l      D0
  6464. 000044B6  2D40 FCD2                move.l     [A6 - 0x32E], D0
  6465. label000044BA:
  6466. 000044BA  202E FCD2                move.l     D0, [A6 - 0x32E]
  6467. 000044BE  245F                     movea.l    A2, [A7]+
  6468. 000044C0  4E5E                     unlink     A6
  6469. 000044C2  4E75                     rts
  6470. 000044C4  5052                     addq.w     [A2], 8
  6471. 000044C6  4F43                     chk.w      D7, D3
  6472. 000044C8  4553                     chk.w      D2, [A3]
  6473. 000044CA  5343                     subq.w     D3, 1
  6474. fn000044CC:
  6475. 000044CC  4E56 F7E6                link       A6, -0x081A
  6476. 000044D0  3F3C 0001                move.w     -[A7], 0x1
  6477. 000044D4  4878 0005                pea.l      [0x00000005]
  6478. 000044D8  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6479. 000044DC  4EBA DC06                jsr        [PC - 0x23FA /* 000020E4 */]
  6480. 000044E0  508F                     addq.l     A7, 8
  6481. 000044E2  3F3C 0012                move.w     -[A7], 0x12
  6482. 000044E6  486E FFEE                pea.l      [A6 - 0x12]
  6483. 000044EA  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6484. 000044EE  4EBA DBB4                jsr        [PC - 0x244C /* 000020A4 */]
  6485. 000044F2  508F                     addq.l     A7, 8
  6486. 000044F4  486E FFF4                pea.l      [A6 - 0xC]
  6487. 000044F8  4EBA DFD8                jsr        [PC - 0x2028 /* 000024D2 */]
  6488. 000044FC  588F                     addq.l     A7, 4
  6489. 000044FE  486E FFFA                pea.l      [A6 - 0x6]
  6490. 00004502  4EBA E002                jsr        [PC - 0x1FFE /* 00002506 */]
  6491. 00004506  588F                     addq.l     A7, 4
  6492. 00004508  486E FFFE                pea.l      [A6 - 0x2]
  6493. 0000450C  4EBA DFC4                jsr        [PC - 0x203C /* 000024D2 */]
  6494. 00004510  588F                     addq.l     A7, 4
  6495. 00004512  486E F7EE                pea.l      [A6 - 0x812]
  6496. 00004516  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  6497. 0000451A  4EBA E9E0                jsr        [PC - 0x1620 /* 00002EFC */]
  6498. 0000451E  5C8F                     addq.l     A7, 6
  6499. 00004520  7001                     moveq.l    D0, 0x01
  6500. 00004522  1B40 A3E4                move.b     [A5 - 0x5C1C], D0
  6501. 00004526  4878 FFFF                pea.l      [0xFFFFFFFF]
  6502. 0000452A  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6503. 0000452E  4EBA C8A0                jsr        [PC - 0x3760 /* 00000DD0 */]
  6504. 00004532  5C8F                     addq.l     A7, 6
  6505. 00004534  2B40 A374                move.l     [A5 - 0x5C8C], D0
  6506. 00004538  2F2D A374                move.l     -[A7], [A5 - 0x5C8C]
  6507. 0000453C  486D A392                pea.l      [A5 - 0x5C6E]
  6508. 00004540  A91A                     trap       SetWTitle
  6509. 00004542  4267                     clr.w      -[A7]
  6510. 00004544  3F3C 0001                move.w     -[A7], 0x1
  6511. 00004548  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  6512. 0000454C  3F3C 0096                move.w     -[A7], 0x96
  6513. 00004550  2F2D A374                move.l     -[A7], [A5 - 0x5C8C]
  6514. 00004554  4EBA C49A                jsr        [PC - 0x3B66 /* 000009F0 */]
  6515. 00004558  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6516. 0000455C  7000                     moveq.l    D0, 0x00
  6517. 0000455E  302E FFFE                move.w     D0, [A6 - 0x2]
  6518. 00004562  2F00                     move.l     -[A7], D0
  6519. 00004564  486E F7EE                pea.l      [A6 - 0x812]
  6520. 00004568  4EBA C8A6                jsr        [PC - 0x375A /* 00000E10 */]
  6521. 0000456C  508F                     addq.l     A7, 8
  6522. 0000456E  4267                     clr.w      -[A7]
  6523. 00004570  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  6524. 00004574  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6525. 00004578  4EBA DB6A                jsr        [PC - 0x2496 /* 000020E4 */]
  6526. 0000457C  508F                     addq.l     A7, 8
  6527. 0000457E  302E FFF4                move.w     D0, [A6 - 0xC]
  6528. 00004582  4E5E                     unlink     A6
  6529. 00004584  4E75                     rts
  6530. 00004586  5052                     addq.w     [A2], 8
  6531. 00004588  4F43                     chk.w      D7, D3
  6532. 0000458A  4553                     chk.w      D2, [A3]
  6533. 0000458C  5345                     subq.w     D5, 1
  6534. fn0000458E:
  6535. 0000458E  4E56 FFFC                link       A6, -0x0004
  6536. 00004592  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  6537. 00004598  4AAE FFFC                tst.l      [A6 - 0x4]
  6538. 0000459C  6C0A                     bge        +0xC /* 000045A8 */
  6539. 0000459E  202E FFFC                move.l     D0, [A6 - 0x4]
  6540. 000045A2  4480                     neg.l      D0
  6541. 000045A4  2D40 FFFC                move.l     [A6 - 0x4], D0
  6542. label000045A8:
  6543. 000045A8  202E FFFC                move.l     D0, [A6 - 0x4]
  6544. 000045AC  4E5E                     unlink     A6
  6545. 000045AE  4E75                     rts
  6546. 000045B0  4C41 4253                movem.l    A6,A1,D6,D4,D1,D0, D1
  6547. 000045B4  2020                     move.l     D0, -[A0]
  6548. 000045B6  2020                     move.l     D0, -[A0]
  6549. fn000045B8:
  6550. 000045B8  4E56 FFFC                link       A6, -0x0004
  6551. 000045BC  4A2D A3E4                tst.b      [A5 - 0x5C1C]
  6552. 000045C0  6642                     bne        +0x44 /* 00004604 */
  6553. 000045C2  3F3C 0001                move.w     -[A7], 0x1
  6554. 000045C6  A9C8                     trap       SysBeep
  6555. 000045C8  486D FE18                pea.l      [A5 - 0x1E8]
  6556. 000045CC  486D A3E7                pea.l      [A5 - 0x5C19]
  6557. 000045D0  4EBA BC94                jsr        [PC - 0x436C /* 00000266 */]
  6558. 000045D4  508F                     addq.l     A7, 8
  6559. 000045D6  486D A3E7                pea.l      [A5 - 0x5C19]
  6560. 000045DA  4EAD 0282                jsr        [A5 + 0x282]
  6561. 000045DE  588F                     addq.l     A7, 4
  6562. 000045E0  2F00                     move.l     -[A7], D0
  6563. 000045E2  486D FE40                pea.l      [A5 - 0x1C0]
  6564. 000045E6  486D FE42                pea.l      [A5 - 0x1BE]
  6565. 000045EA  486D FE44                pea.l      [A5 - 0x1BC]
  6566. 000045EE  A98B                     trap       ParamText
  6567. 000045F0  4267                     clr.w      -[A7]
  6568. 000045F2  A938                     trap       HiliteMenu
  6569. 000045F4  4267                     clr.w      -[A7]
  6570. 000045F6  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6571. 000045FA  42A7                     clr.l      -[A7]
  6572. 000045FC  A986                     trap       StopAlert
  6573. 000045FE  301F                     move.w     D0, [A7]+
  6574. 00004600  6000 0134                bra        +0x136 /* 00004736 */
  6575. label00004604:
  6576. 00004604  4A2D A3E2                tst.b      [A5 - 0x5C1E]
  6577. 00004608  6742                     beq        +0x44 /* 0000464C */
  6578. 0000460A  3F3C 0001                move.w     -[A7], 0x1
  6579. 0000460E  A9C8                     trap       SysBeep
  6580. 00004610  486D FE46                pea.l      [A5 - 0x1BA]
  6581. 00004614  486D A3E7                pea.l      [A5 - 0x5C19]
  6582. 00004618  4EBA BC4C                jsr        [PC - 0x43B4 /* 00000266 */]
  6583. 0000461C  508F                     addq.l     A7, 8
  6584. 0000461E  486D A3E7                pea.l      [A5 - 0x5C19]
  6585. 00004622  4EAD 0282                jsr        [A5 + 0x282]
  6586. 00004626  588F                     addq.l     A7, 4
  6587. 00004628  2F00                     move.l     -[A7], D0
  6588. 0000462A  486D FE74                pea.l      [A5 - 0x18C]
  6589. 0000462E  486D FE76                pea.l      [A5 - 0x18A]
  6590. 00004632  486D FE78                pea.l      [A5 - 0x188]
  6591. 00004636  A98B                     trap       ParamText
  6592. 00004638  4267                     clr.w      -[A7]
  6593. 0000463A  A938                     trap       HiliteMenu
  6594. 0000463C  4267                     clr.w      -[A7]
  6595. 0000463E  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6596. 00004642  42A7                     clr.l      -[A7]
  6597. 00004644  A986                     trap       StopAlert
  6598. 00004646  301F                     move.w     D0, [A7]+
  6599. 00004648  6000 00EC                bra        +0xEE /* 00004736 */
  6600. label0000464C:
  6601. 0000464C  42A7                     clr.l      -[A7]
  6602. 0000464E  3F3C 0004                move.w     -[A7], 0x4
  6603. 00004652  A9B9                     trap       GetCursor
  6604. 00004654  205F                     movea.l    A0, [A7]+
  6605. 00004656  2B48 A2D4                move.l     [A5 - 0x5D2C], A0
  6606. 0000465A  206D A2D4                movea.l    A0, [A5 - 0x5D2C]
  6607. 0000465E  2F10                     move.l     -[A7], [A0]
  6608. 00004660  A851                     trap       SetCursor
  6609. 00004662  426D A782                clr.w      [A5 - 0x587E]
  6610. 00004666  6056                     bra        +0x58 /* 000046BE */
  6611. label00004668:
  6612. 00004668  302D A782                move.w     D0, [A5 - 0x587E]
  6613. 0000466C  48C0                     ext.l      D0
  6614. 0000466E  E580                     asl        D0, 2
  6615. 00004670  41ED A5E8                lea.l      A0, [A5 - 0x5A18]
  6616. 00004674  D1C0                     add.l      A0, D0
  6617. 00004676  2F10                     move.l     -[A7], [A0]
  6618. 00004678  4EBA FF14                jsr        [PC - 0xEC /* 0000458E */]
  6619. 0000467C  588F                     addq.l     A7, 4
  6620. 0000467E  4267                     clr.w      -[A7]
  6621. 00004680  5380                     subq.l     D0, 1
  6622. 00004682  2F00                     move.l     -[A7], D0
  6623. 00004684  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6624. 00004688  4EBA DA5A                jsr        [PC - 0x25A6 /* 000020E4 */]
  6625. 0000468C  508F                     addq.l     A7, 8
  6626. 0000468E  3F3C 0004                move.w     -[A7], 0x4
  6627. 00004692  486E FFFC                pea.l      [A6 - 0x4]
  6628. 00004696  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6629. 0000469A  4EBA DA08                jsr        [PC - 0x25F8 /* 000020A4 */]
  6630. 0000469E  508F                     addq.l     A7, 8
  6631. 000046A0  0CAE 504B 0304 FFFC      cmpi.l     [A6 - 0x4], 0x504B0304
  6632. 000046A8  670C                     beq        +0xE /* 000046B6 */
  6633. 000046AA  486D FE7A                pea.l      [A5 - 0x186]
  6634. 000046AE  4EBA C854                jsr        [PC - 0x37AC /* 00000F04 */]
  6635. 000046B2  588F                     addq.l     A7, 4
  6636. 000046B4  6004                     bra        +0x6 /* 000046BA */
  6637. label000046B6:
  6638. 000046B6  4EBA FAEC                jsr        [PC - 0x514 /* 000041A4 */]
  6639. label000046BA:
  6640. 000046BA  526D A782                addq.w     [A5 - 0x587E], 1
  6641. label000046BE:
  6642. 000046BE  302D A782                move.w     D0, [A5 - 0x587E]
  6643. 000046C2  B06D A780                cmp.w      D0, [A5 - 0x5880]
  6644. 000046C6  6DA0                     blt        -0x5E /* 00004668 */
  6645. 000046C8  A850                     trap       InitCursor
  6646. 000046CA  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6647. 000046CE  4EBA D9A0                jsr        [PC - 0x2660 /* 00002070 */]
  6648. 000046D2  548F                     addq.l     A7, 2
  6649. 000046D4  7001                     moveq.l    D0, 0x01
  6650. 000046D6  1B40 A3E2                move.b     [A5 - 0x5C1E], D0
  6651. 000046DA  4878 0014                pea.l      [0x00000014 /* __m68k_vec_div_zero__ */]
  6652. 000046DE  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  6653. 000046E2  4EAD 022A                jsr        [A5 + 0x22A]
  6654. 000046E6  3F3C 0001                move.w     -[A7], 0x1
  6655. 000046EA  A9C8                     trap       SysBeep
  6656. 000046EC  4878 0005                pea.l      [0x00000005]
  6657. 000046F0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  6658. 000046F4  4EAD 022A                jsr        [A5 + 0x22A]
  6659. 000046F8  3F3C 0001                move.w     -[A7], 0x1
  6660. 000046FC  A9C8                     trap       SysBeep
  6661. 000046FE  486D FEAE                pea.l      [A5 - 0x152]
  6662. 00004702  486D A3E7                pea.l      [A5 - 0x5C19]
  6663. 00004706  4EBA BB5E                jsr        [PC - 0x44A2 /* 00000266 */]
  6664. 0000470A  508F                     addq.l     A7, 8
  6665. 0000470C  486D A3E7                pea.l      [A5 - 0x5C19]
  6666. 00004710  4EAD 0282                jsr        [A5 + 0x282]
  6667. 00004714  588F                     addq.l     A7, 4
  6668. 00004716  2F00                     move.l     -[A7], D0
  6669. 00004718  486D FECE                pea.l      [A5 - 0x132]
  6670. 0000471C  486D FED0                pea.l      [A5 - 0x130]
  6671. 00004720  486D FED2                pea.l      [A5 - 0x12E]
  6672. 00004724  A98B                     trap       ParamText
  6673. 00004726  4267                     clr.w      -[A7]
  6674. 00004728  A938                     trap       HiliteMenu
  6675. 0000472A  4267                     clr.w      -[A7]
  6676. 0000472C  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6677. 00004730  42A7                     clr.l      -[A7]
  6678. 00004732  A987                     trap       NoteAlert
  6679. 00004734  301F                     move.w     D0, [A7]+
  6680. label00004736:
  6681. 00004736  4E5E                     unlink     A6
  6682. 00004738  4E75                     rts
  6683. 0000473A  5052                     addq.w     [A2], 8
  6684. 0000473C  4F43                     chk.w      D7, D3
  6685. 0000473E  4553                     chk.w      D2, [A3]
  6686. 00004740  5348                     subq.w     A0, 1
  6687. fn00004742:
  6688. 00004742  4E56 FFFC                link       A6, -0x0004
  6689. 00004746  426E FFFE                clr.w      [A6 - 0x2]
  6690. 0000474A  3F3C 0002                move.w     -[A7], 0x2
  6691. 0000474E  3F3C 2001                move.w     -[A7], 0x2001
  6692. 00004752  4EBA B90E                jsr        [PC - 0x46F2 /* 00000062 */]
  6693. 00004756  588F                     addq.l     A7, 4
  6694. 00004758  2B40 EACA                move.l     [A5 - 0x1536], D0
  6695. 0000475C  3F3C 0001                move.w     -[A7], 0x1
  6696. 00004760  3F3C 2001                move.w     -[A7], 0x2001
  6697. 00004764  4EBA B8FC                jsr        [PC - 0x4704 /* 00000062 */]
  6698. 00004768  588F                     addq.l     A7, 4
  6699. 0000476A  2B40 EACE                move.l     [A5 - 0x1532], D0
  6700. 0000476E  3F3C 0001                move.w     -[A7], 0x1
  6701. 00004772  3F3C 2001                move.w     -[A7], 0x2001
  6702. 00004776  4EBA B8EA                jsr        [PC - 0x4716 /* 00000062 */]
  6703. 0000477A  588F                     addq.l     A7, 4
  6704. 0000477C  2B40 EAD2                move.l     [A5 - 0x152E], D0
  6705. 00004780  4878 2000                pea.l      [0x00002000 /* VectorPtr */]
  6706. 00004784  4EBA B940                jsr        [PC - 0x46C0 /* 000000C6 */]
  6707. 00004788  588F                     addq.l     A7, 4
  6708. 0000478A  2B40 A78C                move.l     [A5 - 0x5874], D0
  6709. 0000478E  4878 6000                pea.l      [0x00006000]
  6710. 00004792  4EBA B932                jsr        [PC - 0x46CE /* 000000C6 */]
  6711. 00004796  588F                     addq.l     A7, 4
  6712. 00004798  2B40 A7B8                move.l     [A5 - 0x5848], D0
  6713. 0000479C  3B7C 2000 A788           move.w     [A5 - 0x5878], 0x2000 /* ' \0' */
  6714. 000047A2  3B7C 6000 A78A           move.w     [A5 - 0x5876], 0x6000 /* '`\0' */
  6715. 000047A8  4AAD A78C                tst.l      [A5 - 0x5874]
  6716. 000047AC  6706                     beq        +0x8 /* 000047B4 */
  6717. 000047AE  4AAD A7B8                tst.l      [A5 - 0x5848]
  6718. 000047B2  6622                     bne        +0x24 /* 000047D6 */
  6719. label000047B4:
  6720. 000047B4  486D FED4                pea.l      [A5 - 0x12C]
  6721. 000047B8  486D FEFE                pea.l      [A5 - 0x102]
  6722. 000047BC  486D FF00                pea.l      [A5 - 0x100]
  6723. 000047C0  486D FF02                pea.l      [A5 - 0xFE]
  6724. 000047C4  A98B                     trap       ParamText
  6725. 000047C6  4267                     clr.w      -[A7]
  6726. 000047C8  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6727. 000047CC  42A7                     clr.l      -[A7]
  6728. 000047CE  A986                     trap       StopAlert
  6729. 000047D0  301F                     move.w     D0, [A7]+
  6730. 000047D2  4EBA D100                jsr        [PC - 0x2F00 /* 000018D4 */]
  6731. label000047D6:
  6732. 000047D6  4E5E                     unlink     A6
  6733. 000047D8  4E75                     rts
  6734. 000047DA  414C                     chk.w      D0, A4
  6735. 000047DC  4C4F 4341                movem.l    A6,A1,A0,D6,D0, A7
  6736. 000047E0  5445                     addq.w     D5, 2
  6737. export_25:
  6738. 000047E2  4267                     clr.w      -[A7]
  6739. 000047E4  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  6740. 000047E8  42A7                     clr.l      -[A7]
  6741. 000047EA  A985                     trap       Alert
  6742. 000047EC  301F                     move.w     D0, [A7]+
  6743. 000047EE  4E75                     rts
  6744. fn000047F0:
  6745. 000047F0  4A2D A3E3                tst.b      [A5 - 0x5C1D]
  6746. 000047F4  6638                     bne        +0x3A /* 0000482E */
  6747. 000047F6  7001                     moveq.l    D0, 0x01
  6748. 000047F8  1B40 A3E3                move.b     [A5 - 0x5C1D], D0
  6749. 000047FC  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6750. 00004800  3F3C 0003                move.w     -[A7], 0x3
  6751. 00004804  1F3C 0001                move.b     -[A7], 0x1
  6752. 00004808  A945                     trap       CheckItem
  6753. 0000480A  42A7                     clr.l      -[A7]
  6754. 0000480C  3F3C 0005                move.w     -[A7], 0x5
  6755. 00004810  486D FF04                pea.l      [A5 - 0xFC]
  6756. 00004814  A931                     trap       NewMenu
  6757. 00004816  205F                     movea.l    A0, [A7]+
  6758. 00004818  2B48 A2D0                move.l     [A5 - 0x5D30], A0
  6759. 0000481C  42A7                     clr.l      -[A7]
  6760. 0000481E  42A7                     clr.l      -[A7]
  6761. 00004820  2F2D A2D0                move.l     -[A7], [A5 - 0x5D30]
  6762. 00004824  4EBA D0EC                jsr        [PC - 0x2F14 /* 00001912 */]
  6763. 00004828  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6764. 0000482C  6032                     bra        +0x34 /* 00004860 */
  6765. label0000482E:
  6766. 0000482E  422D A3E3                clr.b      [A5 - 0x5C1D]
  6767. 00004832  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6768. 00004836  3F3C 0003                move.w     -[A7], 0x3
  6769. 0000483A  4267                     clr.w      -[A7]
  6770. 0000483C  A945                     trap       CheckItem
  6771. 0000483E  42A7                     clr.l      -[A7]
  6772. 00004840  3F3C 0005                move.w     -[A7], 0x5
  6773. 00004844  486D FF12                pea.l      [A5 - 0xEE]
  6774. 00004848  A931                     trap       NewMenu
  6775. 0000484A  205F                     movea.l    A0, [A7]+
  6776. 0000484C  2B48 A2D0                move.l     [A5 - 0x5D30], A0
  6777. 00004850  42A7                     clr.l      -[A7]
  6778. 00004852  42A7                     clr.l      -[A7]
  6779. 00004854  2F2D A2D0                move.l     -[A7], [A5 - 0x5D30]
  6780. 00004858  4EBA D0B8                jsr        [PC - 0x2F48 /* 00001912 */]
  6781. 0000485C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6782. label00004860:
  6783. 00004860  4E75                     rts
  6784. fn00004862:
  6785. 00004862  4A2D A3E6                tst.b      [A5 - 0x5C1A]
  6786. 00004866  6638                     bne        +0x3A /* 000048A0 */
  6787. 00004868  7001                     moveq.l    D0, 0x01
  6788. 0000486A  1B40 A3E6                move.b     [A5 - 0x5C1A], D0
  6789. 0000486E  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6790. 00004872  3F3C 0004                move.w     -[A7], 0x4
  6791. 00004876  1F3C 0001                move.b     -[A7], 0x1
  6792. 0000487A  A945                     trap       CheckItem
  6793. 0000487C  42A7                     clr.l      -[A7]
  6794. 0000487E  3F3C 0004                move.w     -[A7], 0x4
  6795. 00004882  486D FF14                pea.l      [A5 - 0xEC]
  6796. 00004886  A931                     trap       NewMenu
  6797. 00004888  205F                     movea.l    A0, [A7]+
  6798. 0000488A  2B48 A2CC                move.l     [A5 - 0x5D34], A0
  6799. 0000488E  42A7                     clr.l      -[A7]
  6800. 00004890  42A7                     clr.l      -[A7]
  6801. 00004892  2F2D A2CC                move.l     -[A7], [A5 - 0x5D34]
  6802. 00004896  4EBA D07A                jsr        [PC - 0x2F86 /* 00001912 */]
  6803. 0000489A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6804. 0000489E  6032                     bra        +0x34 /* 000048D2 */
  6805. label000048A0:
  6806. 000048A0  422D A3E6                clr.b      [A5 - 0x5C1A]
  6807. 000048A4  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6808. 000048A8  3F3C 0004                move.w     -[A7], 0x4
  6809. 000048AC  4267                     clr.w      -[A7]
  6810. 000048AE  A945                     trap       CheckItem
  6811. 000048B0  42A7                     clr.l      -[A7]
  6812. 000048B2  3F3C 0004                move.w     -[A7], 0x4
  6813. 000048B6  486D FF2A                pea.l      [A5 - 0xD6]
  6814. 000048BA  A931                     trap       NewMenu
  6815. 000048BC  205F                     movea.l    A0, [A7]+
  6816. 000048BE  2B48 A2CC                move.l     [A5 - 0x5D34], A0
  6817. 000048C2  42A7                     clr.l      -[A7]
  6818. 000048C4  42A7                     clr.l      -[A7]
  6819. 000048C6  2F2D A2CC                move.l     -[A7], [A5 - 0x5D34]
  6820. 000048CA  4EBA D046                jsr        [PC - 0x2FBA /* 00001912 */]
  6821. 000048CE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6822. label000048D2:
  6823. 000048D2  4E75                     rts
  6824. fn000048D4:
  6825. 000048D4  4A2D A3E5                tst.b      [A5 - 0x5C1B]
  6826. 000048D8  6616                     bne        +0x18 /* 000048F0 */
  6827. 000048DA  7001                     moveq.l    D0, 0x01
  6828. 000048DC  1B40 A3E5                move.b     [A5 - 0x5C1B], D0
  6829. 000048E0  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6830. 000048E4  3F3C 0005                move.w     -[A7], 0x5
  6831. 000048E8  1F3C 0001                move.b     -[A7], 0x1
  6832. 000048EC  A945                     trap       CheckItem
  6833. 000048EE  6010                     bra        +0x12 /* 00004900 */
  6834. label000048F0:
  6835. 000048F0  422D A3E5                clr.b      [A5 - 0x5C1B]
  6836. 000048F4  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  6837. 000048F8  3F3C 0005                move.w     -[A7], 0x5
  6838. 000048FC  4267                     clr.w      -[A7]
  6839. 000048FE  A945                     trap       CheckItem
  6840. label00004900:
  6841. 00004900  4E75                     rts
  6842. 00004902  4E56 FFF0                link       A6, -0x0010
  6843. 00004906  4A2D A3E4                tst.b      [A5 - 0x5C1C]
  6844. 0000490A  671E                     beq        +0x20 /* 0000492A */
  6845. 0000490C  4A2D A3E2                tst.b      [A5 - 0x5C1E]
  6846. 00004910  660A                     bne        +0xC /* 0000491C */
  6847. 00004912  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6848. 00004916  4EBA D758                jsr        [PC - 0x28A8 /* 00002070 */]
  6849. 0000491A  548F                     addq.l     A7, 2
  6850. label0000491C:
  6851. 0000491C  2F2D A374                move.l     -[A7], [A5 - 0x5C8C]
  6852. 00004920  4EBA D214                jsr        [PC - 0x2DEC /* 00001B36 */]
  6853. 00004924  588F                     addq.l     A7, 4
  6854. 00004926  422D A3E4                clr.b      [A5 - 0x5C1C]
  6855. label0000492A:
  6856. 0000492A  422D A3E2                clr.b      [A5 - 0x5C1E]
  6857. 0000492E  2F2D A37C                move.l     -[A7], [A5 - 0x5C84]
  6858. 00004932  486D FF2C                pea.l      [A5 - 0xD4]
  6859. 00004936  42A7                     clr.l      -[A7]
  6860. 00004938  3F3C FFFF                move.w     -[A7], 0xFFFF
  6861. 0000493C  42A7                     clr.l      -[A7]
  6862. 0000493E  42A7                     clr.l      -[A7]
  6863. 00004940  486D A388                pea.l      [A5 - 0x5C78]
  6864. 00004944  4EAD 028A                jsr        [A5 + 0x28A]
  6865. 00004948  4A2D A388                tst.b      [A5 - 0x5C78]
  6866. 0000494C  6700 01AC                beq        +0x1AE /* 00004AFA */
  6867. 00004950  4267                     clr.w      -[A7]
  6868. 00004952  486D FF2E                pea.l      [A5 - 0xD2]
  6869. 00004956  3F2D A38E                move.w     -[A7], [A5 - 0x5C72]
  6870. 0000495A  4EAD 025A                jsr        [A5 + 0x25A]
  6871. 0000495E  301F                     move.w     D0, [A7]+
  6872. 00004960  42A7                     clr.l      -[A7]
  6873. 00004962  3F3C 0004                move.w     -[A7], 0x4
  6874. 00004966  A9B9                     trap       GetCursor
  6875. 00004968  205F                     movea.l    A0, [A7]+
  6876. 0000496A  2B48 A2D4                move.l     [A5 - 0x5D2C], A0
  6877. 0000496E  206D A2D4                movea.l    A0, [A5 - 0x5D2C]
  6878. 00004972  2F10                     move.l     -[A7], [A0]
  6879. 00004974  A851                     trap       SetCursor
  6880. 00004976  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  6881. 0000497A  486D A392                pea.l      [A5 - 0x5C6E]
  6882. 0000497E  486D A3E7                pea.l      [A5 - 0x5C19]
  6883. 00004982  4EBA B83C                jsr        [PC - 0x47C4 /* 000001C0 */]
  6884. 00004986  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6885. 0000498A  486D A3E7                pea.l      [A5 - 0x5C19]
  6886. 0000498E  4EAD 027A                jsr        [A5 + 0x27A]
  6887. 00004992  588F                     addq.l     A7, 4
  6888. 00004994  3F3C 8000                move.w     -[A7], 0x8000
  6889. 00004998  2F00                     move.l     -[A7], D0
  6890. 0000499A  4EBA D668                jsr        [PC - 0x2998 /* 00002004 */]
  6891. 0000499E  5C8F                     addq.l     A7, 6
  6892. 000049A0  3B40 A79C                move.w     [A5 - 0x5864], D0
  6893. 000049A4  3F3C 0002                move.w     -[A7], 0x2
  6894. 000049A8  4878 FFEA                pea.l      [0xFFFFFFEA]
  6895. 000049AC  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6896. 000049B0  4EBA D732                jsr        [PC - 0x28CE /* 000020E4 */]
  6897. 000049B4  508F                     addq.l     A7, 8
  6898. 000049B6  2D40 FFF8                move.l     [A6 - 0x8], D0
  6899. label000049BA:
  6900. 000049BA  3F3C 0004                move.w     -[A7], 0x4
  6901. 000049BE  486E FFFC                pea.l      [A6 - 0x4]
  6902. 000049C2  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6903. 000049C6  4EBA D6DC                jsr        [PC - 0x2924 /* 000020A4 */]
  6904. 000049CA  508F                     addq.l     A7, 8
  6905. 000049CC  3F3C 0001                move.w     -[A7], 0x1
  6906. 000049D0  4878 FFFB                pea.l      [0xFFFFFFFB]
  6907. 000049D4  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6908. 000049D8  4EBA D70A                jsr        [PC - 0x28F6 /* 000020E4 */]
  6909. 000049DC  508F                     addq.l     A7, 8
  6910. 000049DE  2D40 FFF4                move.l     [A6 - 0xC], D0
  6911. 000049E2  0CAE 0000 002D FFF4      cmpi.l     [A6 - 0xC], 0x2D /* '-' */
  6912. 000049EA  6F10                     ble        +0x12 /* 000049FC */
  6913. 000049EC  202E FFF8                move.l     D0, [A6 - 0x8]
  6914. 000049F0  90AE FFF4                sub.l      D0, [A6 - 0xC]
  6915. 000049F4  0C80 0000 0400           cmpi.l     D0, 0x400
  6916. 000049FA  6D6C                     blt        +0x6E /* 00004A68 */
  6917. label000049FC:
  6918. 000049FC  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  6919. 00004A00  486D A392                pea.l      [A5 - 0x5C6E]
  6920. 00004A04  486D A3E7                pea.l      [A5 - 0x5C19]
  6921. 00004A08  4EBA B7B6                jsr        [PC - 0x484A /* 000001C0 */]
  6922. 00004A0C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6923. 00004A10  486D A3E7                pea.l      [A5 - 0x5C19]
  6924. 00004A14  4EAD 027A                jsr        [A5 + 0x27A]
  6925. 00004A18  588F                     addq.l     A7, 4
  6926. 00004A1A  486D FF30                pea.l      [A5 - 0xD0]
  6927. 00004A1E  486D A3E7                pea.l      [A5 - 0x5C19]
  6928. 00004A22  4EBA B7EC                jsr        [PC - 0x4814 /* 00000210 */]
  6929. 00004A26  508F                     addq.l     A7, 8
  6930. 00004A28  486D A3E7                pea.l      [A5 - 0x5C19]
  6931. 00004A2C  4EAD 0282                jsr        [A5 + 0x282]
  6932. 00004A30  588F                     addq.l     A7, 4
  6933. 00004A32  2F00                     move.l     -[A7], D0
  6934. 00004A34  486D FF42                pea.l      [A5 - 0xBE]
  6935. 00004A38  486D FF44                pea.l      [A5 - 0xBC]
  6936. 00004A3C  486D FF46                pea.l      [A5 - 0xBA]
  6937. 00004A40  A98B                     trap       ParamText
  6938. 00004A42  A850                     trap       InitCursor
  6939. 00004A44  3F3C 0001                move.w     -[A7], 0x1
  6940. 00004A48  A9C8                     trap       SysBeep
  6941. 00004A4A  4267                     clr.w      -[A7]
  6942. 00004A4C  A938                     trap       HiliteMenu
  6943. 00004A4E  4267                     clr.w      -[A7]
  6944. 00004A50  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  6945. 00004A54  42A7                     clr.l      -[A7]
  6946. 00004A56  A986                     trap       StopAlert
  6947. 00004A58  301F                     move.w     D0, [A7]+
  6948. 00004A5A  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6949. 00004A5E  4EBA D610                jsr        [PC - 0x29F0 /* 00002070 */]
  6950. 00004A62  548F                     addq.l     A7, 2
  6951. 00004A64  6000 0094                bra        +0x96 /* 00004AFA */
  6952. label00004A68:
  6953. 00004A68  0CAE 504B 0506 FFFC      cmpi.l     [A6 - 0x4], 0x504B0506
  6954. 00004A70  6600 FF48                bne        -0xB6 /* 000049BA */
  6955. 00004A74  4EBA FA56                jsr        [PC - 0x5AA /* 000044CC */]
  6956. 00004A78  3B40 A780                move.w     [A5 - 0x5880], D0
  6957. 00004A7C  486D FF48                pea.l      [A5 - 0xB8]
  6958. 00004A80  4EBA C482                jsr        [PC - 0x3B7E /* 00000F04 */]
  6959. 00004A84  588F                     addq.l     A7, 4
  6960. 00004A86  486D FF9C                pea.l      [A5 - 0x64]
  6961. 00004A8A  4EBA C478                jsr        [PC - 0x3B88 /* 00000F04 */]
  6962. 00004A8E  588F                     addq.l     A7, 4
  6963. 00004A90  426D A782                clr.w      [A5 - 0x587E]
  6964. 00004A94  603C                     bra        +0x3E /* 00004AD2 */
  6965. label00004A96:
  6966. 00004A96  3F3C 0004                move.w     -[A7], 0x4
  6967. 00004A9A  486E FFFC                pea.l      [A6 - 0x4]
  6968. 00004A9E  3F2D A79C                move.w     -[A7], [A5 - 0x5864]
  6969. 00004AA2  4EBA D600                jsr        [PC - 0x2A00 /* 000020A4 */]
  6970. 00004AA6  508F                     addq.l     A7, 8
  6971. 00004AA8  0CAE 504B 0102 FFFC      cmpi.l     [A6 - 0x4], 0x504B0102
  6972. 00004AB0  661C                     bne        +0x1E /* 00004ACE */
  6973. 00004AB2  302D A782                move.w     D0, [A5 - 0x587E]
  6974. 00004AB6  48C0                     ext.l      D0
  6975. 00004AB8  E580                     asl        D0, 2
  6976. 00004ABA  41ED A5E8                lea.l      A0, [A5 - 0x5A18]
  6977. 00004ABE  D1C0                     add.l      A0, D0
  6978. 00004AC0  2D48 FFF0                move.l     [A6 - 0x10], A0
  6979. 00004AC4  4EBA F844                jsr        [PC - 0x7BC /* 0000430A */]
  6980. 00004AC8  206E FFF0                movea.l    A0, [A6 - 0x10]
  6981. 00004ACC  2080                     move.l     [A0], D0
  6982. label00004ACE:
  6983. 00004ACE  526D A782                addq.w     [A5 - 0x587E], 1
  6984. label00004AD2:
  6985. 00004AD2  302D A782                move.w     D0, [A5 - 0x587E]
  6986. 00004AD6  B06D A780                cmp.w      D0, [A5 - 0x5880]
  6987. 00004ADA  6DBA                     blt        -0x44 /* 00004A96 */
  6988. 00004ADC  4EBA C4AE                jsr        [PC - 0x3B52 /* 00000F8C */]
  6989. 00004AE0  A850                     trap       InitCursor
  6990. 00004AE2  3F3C 0006                move.w     -[A7], 0x6
  6991. 00004AE6  A9C8                     trap       SysBeep
  6992. 00004AE8  4267                     clr.w      -[A7]
  6993. 00004AEA  2F2D A374                move.l     -[A7], [A5 - 0x5C8C]
  6994. 00004AEE  4EBA BFEC                jsr        [PC - 0x4014 /* 00000ADC */]
  6995. 00004AF2  5C8F                     addq.l     A7, 6
  6996. 00004AF4  2F2D A374                move.l     -[A7], [A5 - 0x5C8C]
  6997. 00004AF8  A915                     trap       ShowWindow
  6998. label00004AFA:
  6999. 00004AFA  4E5E                     unlink     A6
  7000. 00004AFC  4E75                     rts
  7001. 00004AFE  4F50                     chk.w      D7, [A0]
  7002. 00004B00  454E                     chk.w      D2, A6
  7003. 00004B02  4649                     not.w      A1
  7004. 00004B04  4C45 4E56                movem.l    A6,A3,A2,A1,D6,D4,D2,D1, D5
  7005. export_26: // at 00004B06 (misaligned)
  7006. 00004B08  0000 302E                ori.b      D0, 0x2E /* '.' */
  7007. 00004B0C  0008 4EAD                ori.b      A0, 0xAD
  7008. 00004B10  003A 0001 0002           ori.b      [PC + 0x2 /* 00004B14 */], 0x1
  7009. 00004B16  0042 0004                ori.w      D2, 0x4
  7010. 00004B1A  0008 4EBA                ori.b      A0, 0xBA
  7011. 00004B1E  FDE4                     .extension 0xDE4 // unimplemented
  7012. 00004B20  6036                     bra        +0x38 /* 00004B58 */
  7013. 00004B22  2F2D EACA                move.l     -[A7], [A5 - 0x1536]
  7014. 00004B26  4EBA B584                jsr        [PC - 0x4A7C /* 000000AC */]
  7015. 00004B2A  588F                     addq.l     A7, 4
  7016. 00004B2C  2F2D EACE                move.l     -[A7], [A5 - 0x1532]
  7017. 00004B30  4EBA B57A                jsr        [PC - 0x4A86 /* 000000AC */]
  7018. 00004B34  588F                     addq.l     A7, 4
  7019. 00004B36  2F2D EAD2                move.l     -[A7], [A5 - 0x152E]
  7020. 00004B3A  4EBA B570                jsr        [PC - 0x4A90 /* 000000AC */]
  7021. 00004B3E  588F                     addq.l     A7, 4
  7022. 00004B40  2F2D A78C                move.l     -[A7], [A5 - 0x5874]
  7023. 00004B44  4EBA B566                jsr        [PC - 0x4A9A /* 000000AC */]
  7024. 00004B48  588F                     addq.l     A7, 4
  7025. 00004B4A  2F2D A7B8                move.l     -[A7], [A5 - 0x5848]
  7026. 00004B4E  4EBA B55C                jsr        [PC - 0x4AA4 /* 000000AC */]
  7027. 00004B52  588F                     addq.l     A7, 4
  7028. 00004B54  4EBA CD7E                jsr        [PC - 0x3282 /* 000018D4 */]
  7029. label00004B58:
  7030. 00004B58  4E5E                     unlink     A6
  7031. 00004B5A  4E75                     rts
  7032. 00004B5C  444F                     neg.w      A7
  7033. 00004B5E  4649                     not.w      A1
  7034. 00004B60  4C45 4D45                movem.l    A6,A3,A2,A0,D6,D2,D0, D5
  7035. export_27:
  7036. 00004B64  4E56 0000                link       A6, 0
  7037. 00004B68  302E 0008                move.w     D0, [A6 + 0x8]
  7038. 00004B6C  4EAD 003A                jsr        [A5 + 0x3A]
  7039. 00004B70  0001 0005                ori.b      D1, 0x5
  7040. 00004B74  0022 000A                ori.b      -[A2], 0xA /* '\n' */
  7041. 00004B78  001E 000C                ori.b      [A6]+, 0xC
  7042. 00004B7C  0010 0014                ori.b      [A0], 0x14
  7043. 00004B80  4EBA FA36                jsr        [PC - 0x5CA /* 000045B8 */]
  7044. 00004B84  6010                     bra        +0x12 /* 00004B96 */
  7045. 00004B86  4EBA FC68                jsr        [PC - 0x398 /* 000047F0 */]
  7046. 00004B8A  600A                     bra        +0xC /* 00004B96 */
  7047. 00004B8C  4EBA FCD4                jsr        [PC - 0x32C /* 00004862 */]
  7048. 00004B90  6004                     bra        +0x6 /* 00004B96 */
  7049. 00004B92  4EBA FD40                jsr        [PC - 0x2C0 /* 000048D4 */]
  7050. label00004B96:
  7051. 00004B96  4E5E                     unlink     A6
  7052. 00004B98  4E75                     rts
  7053. 00004B9A  444F                     neg.w      A7
  7054. 00004B9C  4F50                     chk.w      D7, [A0]
  7055. 00004B9E  5449                     addq.w     A1, 2
  7056. 00004BA0  4F4E                     chk.w      D7, A6
  7057. export_24:
  7058. 00004BA2  42A7                     clr.l      -[A7]
  7059. 00004BA4  3F3C 0006                move.w     -[A7], 0x6
  7060. 00004BA8  4EBA CBEC                jsr        [PC - 0x3414 /* 00001796 */]
  7061. 00004BAC  5C8F                     addq.l     A7, 6
  7062. 00004BAE  486D 00EA                pea.l      [A5 + 0xEA]
  7063. 00004BB2  486D FFEE                pea.l      [A5 - 0x12]
  7064. 00004BB6  4EBA CE6C                jsr        [PC - 0x3194 /* 00001A24 */]
  7065. 00004BBA  508F                     addq.l     A7, 8
  7066. 00004BBC  42A7                     clr.l      -[A7]
  7067. 00004BBE  3F3C 0065                move.w     -[A7], 0x65 /* 'e' */
  7068. 00004BC2  A9BF                     trap       GetRMenu
  7069. 00004BC4  205F                     movea.l    A0, [A7]+
  7070. 00004BC6  2B48 A2C4                move.l     [A5 - 0x5D3C], A0
  7071. 00004BCA  4267                     clr.w      -[A7]
  7072. 00004BCC  42A7                     clr.l      -[A7]
  7073. 00004BCE  486D 00F2                pea.l      [A5 + 0xF2]
  7074. 00004BD2  2F2D A2C4                move.l     -[A7], [A5 - 0x5D3C]
  7075. 00004BD6  4EBA CD3A                jsr        [PC - 0x32C6 /* 00001912 */]
  7076. 00004BDA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7077. 00004BDE  42A7                     clr.l      -[A7]
  7078. 00004BE0  3F3C 0066                move.w     -[A7], 0x66 /* 'f' */
  7079. 00004BE4  A9BF                     trap       GetRMenu
  7080. 00004BE6  205F                     movea.l    A0, [A7]+
  7081. 00004BE8  2B48 A2C8                move.l     [A5 - 0x5D38], A0
  7082. 00004BEC  3F3C 0001                move.w     -[A7], 0x1
  7083. 00004BF0  42A7                     clr.l      -[A7]
  7084. 00004BF2  486D 00FA                pea.l      [A5 + 0xFA]
  7085. 00004BF6  2F2D A2C8                move.l     -[A7], [A5 - 0x5D38]
  7086. 00004BFA  4EBA CD16                jsr        [PC - 0x32EA /* 00001912 */]
  7087. 00004BFE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7088. 00004C02  4EBA FB3E                jsr        [PC - 0x4C2 /* 00004742 */]
  7089. 00004C06  4EBA CC00                jsr        [PC - 0x3400 /* 00001808 */]
  7090. 00004C0A  4EBA CCD0                jsr        [PC - 0x3330 /* 000018DC */]
  7091. 00004C0E  4E75                     rts
  7092.